f97ao
12-18-2008, 08:40 AM
Im trying to get the alpha channel from psd files but it's not working.
I use:
bitPath="filePath.psd"
display (BitmapLayerManager.LoadLayer bitPath 2 true)
And then I click on the alpha buttin in the viewer.
What I'm getting here is the transparency (if you erase your image in Photoshop the bitmap will become transparent), but Im after the alpha channel since that is where we store our information for our opacity in the games. If I try
theBitmap.channels I get #() as a reply.
Does anyone know if this is possible?
/Andreas
I use:
bitPath="filePath.psd"
display (BitmapLayerManager.LoadLayer bitPath 2 true)
And then I click on the alpha buttin in the viewer.
What I'm getting here is the transparency (if you erase your image in Photoshop the bitmap will become transparent), but Im after the alpha channel since that is where we store our information for our opacity in the games. If I try
theBitmap.channels I get #() as a reply.
Does anyone know if this is possible?
/Andreas
