PNG doesn't support the CMYK colorspace, only grayscale and RGB. You'll
have to use some other tool to do the conversion, maybe JAI.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Bruno Lowagie
> Sent: Friday, October 28, 2005 9:02 AM
> To: john berry; '[email protected]'
> Subject: [iText-questions] Re: creating Press optimized Pdf 
> From your API
> 
> I'm not a specialist as far as images are concerned, I 
> forward this to 
> the mailing list.
> 
> john berry wrote:
> 
> >Hi Bruno,
> >
> >   I have to convert a png image which is a business
> >card may contain some text in a specified font and an
> >image(logo)into CMYK pdf image. 
> >Now, I needs a suggession from your side that which
> >option should i follow to do this...
> >
> >1. Convert PNG image directly to pdf. I have a
> >confusion in it that will fonts or text be affected or
> >not?
> >  
> >
> iText will not alter your PNG.
> The only thing that may change is the resolution of the image
> (depending on how you add it).
> You can tune the resolution yourself by scaling the image.
> 
> >2. Create an image in CMYK using pdfWriter
> >
> I don't understand this.
> 
> > and copy my
> >image pixel by pixel to it by converting each pixel to
> >CMYK .
> >
> I think this is overkill.
> But it's better to hear what the other mailing list subscribers think 
> about this.
> As I already told you: I am not an image specialist.
> br,
> Bruno
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to