List Info

Thread: Does swfmill have any options for image compression?




Does swfmill have any options for image compression?
user name
2008-04-24 12:15:02
Does swfmill have any options for image compression?

I thought not, but a colleague saw this line from the
release page on
0.2.6 that says: minimum compression buffer size for
importing PNGs   
and thought that might me you could?

I see this post from Mark in 2005:
---------------------------------------------------------
On 10/27/05, Alan Queen <aqueen at gmail.com> wrote:
> is there a way to control the default image compression
when
generating a
> swf?

You mean for JPGs?
AFAIK, swfmill doesn't re-encode images, so they're included
the way
they are.

Mark
---------------------------------------------------------

I searched src code some and my conclusion is still that it
doesn't.
Just looking for confirmation?

If not, does anyone have any recommendations on tools
(command line) or
approaches to getting pngs compressed as small as possible
to use in a
swfmill import ?   

I've played with optipng but it only saves me about 3-12% on
size. (For
instance, a given png that is 38,141 bytes goes down to
36,795).  But if
someone puts that same 38,141 png in an fla and using the
Flash IDE
publishes with the default 80% compression on, the whole swf
with the
png ends up only about 8,000 bytes.  Anyone know how they
are
compressing it?

Thanks,
Lynn 




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
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Re: Does swfmill have any options for image compression?
user name
2008-04-24 16:23:11
On Thu, Apr 24, 2008 at 7:15 PM, Walton, Lynn
<Lynn_Waltonadp.com> wrote:
> Does swfmill have any options for image compression?

Hmm... the reply I just sent to the other thread would have
fit better here. 

I think the compression setting in Flash only affects JPGs
(where
Swfmill just takes what you pass to it, so you'd have to use
another
program to compress your JPGs further if desired). I also
think that
for lossless (PNG), Swfmill has to convert to a slightly
different,
but related, compression. But I could be wrong here.
Depending on the image, you could try to convert to JPG,
with your
compression level of choice, and see how that goes.
Generally, if it's
a photo, you'll be better off with JPG. But if you have
something like
a screenshot or anything artificial with large areas of a
single color
and/or fine pixel lines, JPG will not only look like crap,
but also be
larger.

Mark

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

[1-2]

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