Command line convert png to swf

I want the user to upload a PNG file with alpha transparency and compile it using a swf file with jpeg compression in the embedded PNG file.

How can i do this?

At first I thought that I would just build the class and compile it using the Flex Framework, but Flex does not compress the embedded PNG files. You, who tried, probably finished creating the assets.swf file compiled from the Flash IDE.

Any thoughts appreciated.

Regards, nitech

+3
source share
2 answers

The swftools package has the png2swf command . Use the jj switch for jpeg compression.

+6

ImageMagick, , - . .

+1

Source: https://habr.com/ru/post/1721159/


All Articles