Re: How to open CMYK TIF in Cocoa?
Re: How to open CMYK TIF in Cocoa?
- Subject: Re: How to open CMYK TIF in Cocoa?
- From: Todd Freese <email@hidden>
- Date: Thu, 26 Jan 2012 10:36:33 -0600
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 <email@hidden> 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 (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
>>
>>
>> _______________________________________________
>>
>> 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
>
> ______________________________________________________________________
> 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 (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