[swfmill] Does swfmill have any options for image compression
Ralf Fuest
ralf-fuest at gmx.de
Tue May 13 09:43:18 PDT 2008
It's good to hear that you find the information useful.
This should work with every png file with an alpha channel.
I just saw that step 1 could also be written shorter:
convert source.png -fx "u*a" image.jpg
Ralf
> Ralf,
>
> You're awesome! Thanks for providing this information on how to use
> ImageMagick to achieve this.
>
> I've rewritten your original step by step instructions to include this
> update.
>
> 1. Convert the image to an jpg (only color information):
>
> convert source.png -channel RGB -fx "u*a" 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"/>
>
>
> Can you tell me if you know of any types of png's that doing this would
> NOT work? I'm trying to determine if it would it be reasonably safe to
> automate this on all png's even when you don't know in advanced much
> about the png.
>
> Thanks SO MUCH!
> Lynn
More information about the swfmill
mailing list