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:25:09 -0600
The problem seems to be with the embedded alpha channel in the TIF. It is always using the alpha when you try to do anything with the file. Is there an easy way to avoid this? In my case, I need the full image without the alpha.
Currently, if you open the TIF and display it, it will only show you the image thru the alpha.
Todd
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