• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
5-channel CMYKA image fails to give TIFFRepresentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Help with files??
  • Next by Date: NSTableView, NSTextView weirdness
  • Previous by thread: Help with files??
  • Next by thread: Re: 5-channel CMYKA image fails to give TIFFRepresentation
  • Index(es):
    • Date
    • Thread