List Info

Thread: Re: Does swfmill have any options for image compression?




Re: Does swfmill have any options for image compression?
country flaguser name
Germany
2008-05-05 11:49:15
Mark Winterhalder schrieb:
> On Sun, May 4, 2008 at 5:46 PM, mawe <mawetypeofundefined.com> wrote:
>>  I think these are jpeg artifacts, though really
strong ones.
>>
>>  Check it out here:
>>  http://typeofundefined.com/stuff/screens/swf_png_low.png

> 
> Oh, yes. That's /not/ lossless.
> 
> So, I guess the answer is to use JPGs when you want
better
> compression, PNG for lossless. I guess the only thing
that could be
> done to make non-alpha PNGs smaller would be to check
if the number of
> colors allows for less bits per pixel, the specs allow
for 15 or 24.
> Even with alpha, there's also the option to use a table
for colors,
> that allows for 256 colors and only 8 bits per pixel.

I want to add that the PNG preserve its full alpha
capabilities, though it had been grilled by this 
lossy compression. Means I can put something under it and
this will show through. I can even animate 
the whole thing, continuous transparency still works.

_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Re: Does swfmill have any options for image compression?
country flaguser name
Germany
2008-05-05 12:39:27
quoting mawe <mawetypeofundefined.com>:
> I want to add that the PNG preserve its full alpha
capabilities, though it had been grilled by this 
> lossy compression. Means I can put something under it
and this will show through. I can even animate 
> the whole thing, continuous transparency still works.

Mawe,

Mark is completely right- SWF knows JPEG and
"lossless/zlib" compression. If there is any other
format it must be new and unknown to me 

As repeatedly explained by Ralf in this thread, an alpha
mask with JPEG-compressed images can be achieved with the
mask="..." attribute. Swfmill doesn't provide any
automatic conversion (like the Flash IDE obviously does);
that was a design choice to keep the dependencies (and
license problems) low.

hth,
-dan

_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )