[swfmill] Does swfmill have any options for image compression?

Joel Poloney jpoloney at gmail.com
Thu Apr 24 21:37:16 PDT 2008


Ralf,

Sounds good, I'm going to try this soon. Do you know how well this works if
parts of image are 50% transparent instead of 100%? I'm going to try it, but
I'm afraid that the colors might not look right.

-- Joel

On Thu, Apr 24, 2008 at 3:00 PM, Ralf Fuest <ralf-fuest at gmx.de> wrote:

> I'm not sure this is the same thing the flash IDE does but this is a way
> to get better compression for transparent pngs using swfmill:
>
> I have used ImageMagick to do the image conversions:
>
> 1. Convert the image to an jpg (only color information):
> convert source.png image.jpg
>
> 2. Convert the alpha channel to a grayscale png:
> convert source.png -channel matte -negate -separate -depth 8 -type
> Grayscale mask.png
>
> 3. Import in swfmill:
> <clip id="foo" import="image.jpg" mask="mask.png"/>
>
> Of course you can also save these files directly from your image editing
> application.
>
> I've uploaded a example at: http://pep-mp.de/swfmill/Mask.zip
>
> The archive contains two xml files. 1.xml does use the original image
> and 2.xml the jpg image and png mask.
>
> Ralf
>
>
> Am Donnerstag, den 24.04.2008, 14:32 -0700 schrieb Joel Poloney:
> > On Thu, Apr 24, 2008 at 2:23 PM, Mark Winterhalder <mark13 at gmail.com>
> > wrote:
> >         I think the compression setting in Flash only affects JPGs
> >         (where
> >         Swfmill just takes what you pass to it, so you'd have to use
> >         another
> >         program to compress your JPGs further if desired).
> >
> > If you're talking about the Flash IDE, then this is incorrect. Even
> > though it says "jpeg compression", it will affect all images,
> > regardless. For example, I had it compressing my transparent PNG
> > images quite a bit. I have no idea what type of compression they're
> > using, but I think that's what this thread (and my thread) are all
> > about. How can we achieve such compression from the command line.
> >
> > -- Joel
> >
> > _______________________________________________
> > swfmill mailing list
> > swfmill at osflash.org
> > http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swfmill_osflash.org/attachments/20080424/e31b56cf/attachment-0001.html 


More information about the swfmill mailing list