This might be a bug in the framework. Preview has the same problem with any TIF file with an alpha channel in it.
t On Jan 25, 2012, at 9:54 PM, Ken Ferry wrote: > NSImage handles everything CGImage does, and this includes CMYK. NSImage > loads bitmaps with ImageIO, which is what you'd do at the CG layer. > > If the file isn't being read correctly, I would try to investigate if the > file was bad. > > -ken > > On Jan 25, 2012, at 2:47 PM, douglas welton <douglas_wel...@earthlink.net> > wrote: > >> What have you tried? Did you try using one of the CGImage-related functions >> to read the file? >> >> On Jan 24, 2012, at 3:01 PM, Todd Freese wrote: >> >>> Is there an easy way to open a CMYK TIF file and put it into an NSImage? >>> Seems like the Framework is assuming the file is RGB. >>> >>> Todd >>> >>> ______________________________________________________________________ >>> This email has been scanned by the Symantec Email Security.cloud service. >>> For more information please visit http://www.symanteccloud.com >>> ______________________________________________________________________ >>> >>> _______________________________________________ >>> >>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >>> >>> 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: >>> https://lists.apple.com/mailman/options/cocoa-dev/douglas_welton%40earthlink.net >>> >>> This email sent to douglas_wel...@earthlink.net >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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: >> https://lists.apple.com/mailman/options/cocoa-dev/kenferry%40gmail.com >> >> This email sent to kenfe...@gmail.com > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________ > ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com