TIFFRepresentation, different TIFF format under Snow Leopard
TIFFRepresentation, different TIFF format under Snow Leopard
- Subject: TIFFRepresentation, different TIFF format under Snow Leopard
- From: Peter C <email@hidden>
- Date: Mon, 12 Oct 2009 19:36:12 +0800
I just stumble into a feature (or a bug ?), NSImage TIFFRepresentation
produce RGB TIFF with a layer (when open under Photoshop). Previously
it produce plain RGB TIFF under OS 10.5 and below. This cause some
part of my programs interpret wrong RGB data, expecting 3 bytes
instead of 4 bytes for a RGB pixel. There is no mention in the
documents about this "feature".
Is there a way to restore the previous behavior of TIFFRepresentation ?
_______________________________________________
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