You can post-process the image manually into two images: RGB without alpha, and separate image with alpha channel as black-white. Then in swfmill you can use something like <bitmap id="Xy" import="rgb.png" mask="mask.png" /> (not sure about file types here). This would include the rgb file jpeg-compressed, and the alpha channel zlib-compressed.
Alternatively check the SamHaxe doc of the image import module: http://mindless-labs.com/samhaxe/doc/1.0/files/src/modules/Image-hx.html Best regards, Robin On Wed, Sep 9, 2009 at 1:43 AM, Jean Christophe DA COSTA<[email protected]> wrote: > Hi > > I use swfmill to compile my library. All my images are PNG format because > all have a transparency area. It is 1.8 MB. How to reduce weight? I tried to > compile images in GIF format, but he refuses. > Thank you for the help you can bring me. > > JCDC. > > _______________________________________________ > swfmill mailing list > [email protected] > http://osflash.org/mailman/listinfo/swfmill_osflash.org > _______________________________________________ swfmill mailing list [email protected] http://osflash.org/mailman/listinfo/swfmill_osflash.org
