Thank you!

Exactly the verification I needed. Perhaps I could ask for a
recommendation when it comes to a PNG to SWF batch converter as well?
Seems to be quite a few out there.

Thanks again.

Nick


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh
Fernando
Sent: den 5 juli 2006 15:14
To: Flashcoders mailing list
Subject: Re: [Flashcoders] JPEG compression for PNG details

> Wondering if someone here could provide or point me in the direction
of
> details on the inner workings of jpeg compression for png images in
the
> swf format? I am particularly interested in how the alpha channel in
the
> PNG is translated and stored.

When you import a PNG image with an alpha channel and select it to use
JPEG 
compression when exporting, the RGB data is saved as a JPEG, but the
alpha 
channel is still stored as a lossless, lzw data. That means that if your

image's transparency is too complex, it will still be too big, no matter

what the JPEG quality you select.

The only workaround possible is simplifying the transparency -
basically, 
it's the same kind of workaround you'd apply to a grayscale GIF image...

using less levels of colors, avoiding dithering, etc.


- Zeh 

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to