The PNGu.OpenAsPictureWithMask method returns a picture with an
appropriate mask in one step (assuming the PNG has an alpha channel).
Frank.
<http://developer.chaoticbox.com/>
On 8-Sep-06, at 4:24 PM, John Balestrieri wrote:
You need to frank condello's PNG utilities plugin to load the PNG
with mask data.
http://developer.chaoticbox.com/documentation/pngutilities/
I'm not sure if the plugin supports building a picture object with
the appropriate mask picture, but it's a simple task to do it your
self by using the plugin to copy the picture and mask components
separately.
On Sep 8, 2006, at 4:04 PM, Craig Hoyt wrote:
I need to have an image displayed in a canvas which is loaded
directly from a file. I need this image to have a transparent
area. I can do this with an image and mask but is there a way to
construct an image (in photoshop or ?) that can do the direct file
to canvas move without any processing between them and still
retain the transparency? I've tried PNG and GIF but I get white in
the transparent places. It seems Apple uses PNG's that have an
image and mask together. How does one do this?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>