GSoC’11 Midterm Update

Hello everyone.

I would like to apologize for the recent lack of weekly updates. Something had come up late in June and I missed about a week and a half of work. This will not happen again.

For the past couple of weeks, I have been working on the ‘Renderer’ portion of the XCPD CM, and finding a solution to embed a profile into a PDF. As of now, the XCPD Renderer Module code is now able to check if a file has an OutputIntent, and will direct the creation of the proper spool file. The steps are as follows:

1.) Check if a PDF file has an OutputIntent.
2.) If not, we tag the PDF with a default ICC profile.
3.) If the user has specified an ICC profile from the dialog, we convert the PDF into a PDF/X-3 file, and then embed the profile to the PDF.

Step 2 needs work, and I still need to finish implementing code to do the Tiff conversion. But for now, the ‘Renderer Test’ dialog is able to take in both a profile and PDF file, test if the file has an OutputIntent, and generate an embedded profile in a new PDF.

(The latest Ghostscript (9.02) is now required.)

Once this is all finished – and the ‘Renderer’ test dialog is made useful – I will complete the profile selection code. From there, it will be necessary to combine the completed modules (Renderer and Selector) into the XCPD to complete the prototype.

I will be doubling my efforts to make up for the lost time, but I expect the Rendering code will be finished in about a week or less.



2 thoughts on “GSoC’11 Midterm Update

    • Hello Kai-Uwe.

      Having just updated to Ver. > 9.0, ICC color management from within Ghostscript is available:

      Under section 3 of that document (“Usage”), there are command line options that are specific to ICC profiles. One set in particular lets you specify the DefaultXXX ICC profiles, and can be used as follows:


      I’m trying this solution now. If it doesn’t work, I will drop a line with the Ghostscript people.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s