Re: Reading RGBA pixel values from image on disk
Re: Reading RGBA pixel values from image on disk
- Subject: Re: Reading RGBA pixel values from image on disk
- From: Quincey Morris <email@hidden>
- Date: Thu, 10 Mar 2011 09:48:32 -0800
On Mar 10, 2011, at 09:25, Leonardo wrote:
> if I re-open the same TIF file with Photoshop, I can quite see the
> half-a-transparent pixels. So, it seems that the alpha information has been
> properly saved within the TIF file. I would like to know how to manage a
> file like this and retrieve the transparency (alpha) of those pixels.
>
> I can send you this TIF file, if you agree. It's only 42KB.
I don't have access to any better tools for examining TIFF files than you do. All I'm saying is that the NSImageRef is telling you there's no alpha (assuming it also says 8 bits per pixel), and I think if NSImage were unable to load transparent TIFF images we'd have heard about it by now.
Keep in mind that TIFF files may contain multiple image representations. Did you check for others in the NSImage?
_______________________________________________
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