CanMan2004 Posted December 5, 2006 Share Posted December 5, 2006 Hi allI am using ezpdf (http://www.ros.co.nz/pdf/) to create a dynamic PDF file, I use 'addJpegFromFile' to insert the image.For some reason, when I use a RGB JPEG image on the PDF is appears fine, but when I use a CMYK image on the PDF, the image appears corrupted but the rest of the PDF is fine.Has anyone had this issue or know how to fix it?Thanks in advanceEd Link to comment https://forums.phpfreaks.com/topic/29518-problem-with-cmyk-images-in-ezpdf/ Share on other sites More sharing options...
obsidian Posted December 5, 2006 Share Posted December 5, 2006 CMYK color is intended for use with print, not screen. As such, you'll find that many, many web related technologies and applications will not support the proper display of CMYK images. You really need to get into the practice of using RGB, as this is the color schema designed for screen display. See [url=http://www.webdevelopersnotes.com/graphics/basics_of_web_images.php3]this article[/url] for a little more clarification on web imagery. Link to comment https://forums.phpfreaks.com/topic/29518-problem-with-cmyk-images-in-ezpdf/#findComment-135433 Share on other sites More sharing options...
CanMan2004 Posted December 5, 2006 Author Share Posted December 5, 2006 Thanks obsidianThe PDF that is created will be used for print use, therefore I need to try to get it to display CMYK images.Is there any PDF class files or technology that will allow the output of CMYK images on a PDF file?Thanks in advanceEd Link to comment https://forums.phpfreaks.com/topic/29518-problem-with-cmyk-images-in-ezpdf/#findComment-135437 Share on other sites More sharing options...
designergav Posted December 5, 2006 Share Posted December 5, 2006 Would I be right in assuming that you are generating a pdf from the content of a web page and that the jpegs are compressed?If your users are just "regular joes" that are using a home printer then I wouldn't worry about cmyk images. Acrobat Reader and the printer will work out the colours needed and the image will be fine for A4. You only really need to use cmyk if you want hi-end press ready work or your users have RIP technology.Hope that helps.Gav Link to comment https://forums.phpfreaks.com/topic/29518-problem-with-cmyk-images-in-ezpdf/#findComment-135472 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.