Re: [Fwd: CMYK Color Images with PDF Renderer]

2010-02-16 Thread Max Berger
Dear Venkat, in PDF, we actually try not to do the conversion of color spaces, but rather (if possible), keep the original color space. PDF has the possibility to add color space for images, and if a color space was defined in the original image, AND the image loader was able to keep the

Re: [Fwd: CMYK Color Images with PDF Renderer]

2010-02-16 Thread Venkat Reddy
Hi Max, Thanks for your response. I am looking for the classes and methods responsible in handling CMYK color images for PDF Renderer. If you know the classes and methods used in this regard, please mention them in your reply. Thanks, Venkat. Max Berger wrote: Dear Venkat, in PDF, we

Re: [Fwd: CMYK Color Images with PDF Renderer]

2010-02-16 Thread Jeremias Maerki
Venkat, you can easily answer your own questions: You're interested in PDF output so you start in org.apache.fop.render.pdf, i.e. in the neighborhood of the PDF Renderer. You look around and see classes like ImageRenderedAdapter or ImageRawJPEGAdapter in that package. Smells a lot like image

Re: [Fwd: CMYK Color Images with PDF Renderer]

2010-02-16 Thread Venkat Reddy
Hi Jeremias, Thanks for your detailed information on colored image handling in PDF Renderer. I was actually debugging the source for this know how exactly the conversion is happening (based on the AFP Renderer experience). I found ImageRenderedAdapter class, which is using