5-channel CMYKA image fails to give TIFFRepresentation
5-channel CMYKA image fails to give TIFFRepresentation
- Subject: 5-channel CMYKA image fails to give TIFFRepresentation
- From: Jeff Disher <email@hidden>
- Date: Mon, 25 Nov 2002 22:05:55 -0500
Hello,
For some reason the TIFFRepresentation method of NSImage is failing
horribly when sent to an instance that holds a 5-channel CMYKA image.
It prints this error in the console:
<snip>
TIFF Error: Cannot handle 5-channel data.
TIFF Error: 1: Sample out of range, max 1.
TIFF Error: 2: Sample out of range, max 1.
TIFF Error: 3: Sample out of range, max 1.
TIFF Error: 4: Sample out of range, max 1.
2002-11-25 21:28:40.031 <program name>[4020] TIFF error 5
</snip>
Can anyone figure this one out? Since the NSBitmapImageRep supports
these CMYKA images and talks about them in the docs I would assume that
the methods that work with it would work as well.
I am completely stumped here.
Help Please!
Jeff.
PS: For those of you on the Omni or cocoadevcentral lists, I apologize
for the cross-post but I am not getting anywhere with this and I
figured I am most likely to get the data from the horse's mouth here,
which should help me.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.