Color space for cmyk eps images converting to rgb
Color space for cmyk eps images converting to rgb
- Subject: Color space for cmyk eps images converting to rgb
- From: Ken Tozier <email@hidden>
- Date: Mon, 22 Dec 2008 01:04:25 -0500
Hi
If you open an eps image in a text editor like BBEdit, you can see
clearly what color space it was saved as but when you create an
NSImage from the file and call [image representations] or [image
bestRepresentationForDevice: <printer device dict here>] all you get
are images with "NSCalibratedRGBColorSpace." Most of our images are
saved as cmyk so why is NSImage ignoring that info and replacing it
with rgb? Is there any way to load eps's differently so that their
saved color spaces are preserved? I could write a little hack to read
the eps header directly and extract the info, but I'd like to avoid
that if there is a way to do it with NSImage.
Reason I ask is that I wrote a file cataloging application and one
critical piece of info is the color space, so users will know, at a
glance, whether an image they are about to import into a print
document needs to be converted to cmyk.
Thanks for any help
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden