The compression ratio of JPG with the 8-bit alpha channel of a PNG?


It is something flash does as part of its compression of .swf files. If you have a large image with an alpha channel that is loaded dynamically, you are looking at loading a png-24 unless you manually embed each image in its own swf file and compile it with compression. The alternative is to use a tool like png2swf, part of the swfTools kit at:

http://www.swftools.org/changelog.html

pdf2swf is also very handy and can make logitically impractical projects into a quick conversion

 

Update, having used this in my last project quite a bit, I noticed the alpha channel is clipped for anything below about 25% alpha. Not really acceptable if you are dealing with semi-transparent areas!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s