Mark/Ralf/Joel .. thanks for all your input on this topic! It's ironic that Joel and I asked the same question on the same day. I had posted mine before I received my digest and saw his. :)
Mark - If you re-read my post, I kind of did show what you were asking. I said if we just created a simple swf containing only a 38K png and used flash's default compression setting of 80% it creates a swf of only 8K. So it is obviously compressing pngs and however it's doing it, it's a lot more than when I use optipng which only decreased that same png by a few percent. So I'm guessing they are either internally changing it to a jpg with a mask, like Ralf suggested you could do in swfmill or doing something like converting it to 8 bit png or something. Would be nice to know. ;-) I'm pretty sure swfmill doesn't compress the png at all. Ralf, I greatly appreciate your example showing HOW to create the jpg and png mask and use them in swfmill. By the way, Joel, I also found that if I used pngquant to turn my 32bit png into 8bit png it decreased it much more. My 38K went to around 14.6K and looked just as good to my eye. That is a freely available command line tool that works on windows or linux so you could potentially automate that in your process? Lynn > I'd be curious about an experiment somebody with access to Flash could > do: A simple SWF with just a single PNG, once with lowest compression, > then highest compression, and how those compare to each other and a > Swfmill equivalent. > I mean, we can see with Zlib how lossless compression can differ > depending on how many cycles you throw at it, but if SWF's lossless > compression varies in size, I wonder why it's not at highest per > default. > Mark This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. _______________________________________________ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org