Re: Getting Data out of NSImages
Re: Getting Data out of NSImages
- Subject: Re: Getting Data out of NSImages
- From: Aaron Fothergill <email@hidden>
- Date: Sat, 9 Oct 2004 18:32:50 +0100
further to this post. I've just found out that the TIFFRepresentation
*does* save out alpha, but Photoshop loads it in differently from the
way it does with TGAs, ie it pulls it as a layer and doesn't show a
separate Alpha channel :)
Ideally I'd still like to be able to get at the pixel data though if
anyone knows how.
Aaron
_____________________________
Aaron Fothergill : MD / Lead Coder
Strange Flavour Ltd
email@hidden
http://www.strangeflavour.com
On 9 Oct 2004, at 17:59, Aaron Fothergill wrote:
While I can save the TIFFRepresentation of an NSImage, it doesn't
contain any alpha information (and doing a setAlpha on the default
NSImageRep doesn't force it to either ;) ). How do I access the data
in an NSImage to save out the information I need, namely 32 bit RGBA
info ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden