Re: Loading an bitmap from NSImage with alpha?
Re: Loading an bitmap from NSImage with alpha?
- Subject: Re: Loading an bitmap from NSImage with alpha?
- From: Jonathan del Strother <email@hidden>
- Date: Wed, 17 Mar 2004 21:38:27 +0000
On 17 Mar 2004, at 2:26, Andreas Mayer wrote:
Am 17.03.2004 um 02:05 schrieb Jonathan del Strother:
either NSImage isn't
loading it to start with, or it's not getting transferred with the
TIFFRepresentation. Any ideas what's wrong?
You might be able to find out by checking the bitmap image rep of the
initial image.
What I can tell you is, that I am transferring bitmap data including
an alpha channel via TIFFRepresentation without problems. So I would
_guess_ the problem is with reading the tga.
Thanks for that - looks like NSImage doesn't correctly read tga alpha
channels. I switched to tiff and it seems to be working ok...
Jon
_______________________________________________
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.