On Sun, May 17, 2009 at 03:19:07PM -0500, Kent Briggs <[email protected]> 
wrote:
> I'm testing the Windows version of png2swf to convert 32-bit PNG avatars 
> to SWF files for display in an OpenLaszlo application. The only version 
> of SWFTools that will create a clear SWF is 0.6.1. All newer versions 
> produce a fuzzy rendering in OpenLaszlo.
> 
> Using a swfdump tool, one difference I see is that all versions after 
> 0.6.1 are applying a -10,-10 twip (half a pixel) transform to the bitmap 
> whereas 0.6.1 does not. I think this is causing the image to be smoothed 
> when it should not be at 100% scale.

This will be fixed in the next snapshot.
Oh, and just for the record: that shift by (-10,-10) was there so that
images do *not* look blurry in Flash versions <= 7.
Seems the Flashplayer shifts the bitmaps, too, starting with Flash 8,
so the two shifts cancelled each other out.

Matthias




Reply via email to