Re: [swfmill] Does swfmill have any options for image compression

2008-05-15 Thread Ralf Fuest
I don't know a fx expression that returns the alpha channel depth. But I'm no ImageMagick expert. Ralf Actually ... I spoke to soon. I discovered this: identify -format %[fx:a] my.png is not behaving as I initially thought. So maybe Ralf or someone else knows a better fx expression

Re: [swfmill] Does swfmill have any options for image compression

2008-05-14 Thread Walton, Lynn
Actually ... I spoke to soon. I discovered this: identify -format %[fx:a] my.png is not behaving as I initially thought. So maybe Ralf or someone else knows a better fx expression to use? identify -verbose file.png | perl -pe 'while(STDIN){ if(/^\s.*alpha: (\w+)-bit/){print $1;}}' Luke

Re: [swfmill] Does swfmill have any options for image compression

2008-05-13 Thread Luke Rajlich
Hi Lynn, Identify verbose should have some lines indicating channel depth, there should be one called alpha: Channel depth: gray: 8-bit alpha: 1-bit I have written a one line script to tell me the bit depth of the alpha channel from the output of identify -verbose. If there is no

Re: [swfmill] Does swfmill have any options for image compression

2008-05-13 Thread Walton, Lynn
my.jpg Put clip id=my_mc import=my.jpg / in my simple movie xml. Thanks, Lynn -Original Message- From: Walton, Lynn Sent: Tuesday, May 13, 2008 6:02 PM To: 'swfmill@osflash.org' Subject: Re: Does swfmill have any options for image compression Hi Ralf and others, This should work

Re: [swfmill] Does swfmill have any options for image compression?

2008-05-05 Thread Daniel Fischer
quoting mawe [EMAIL PROTECTED]: 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.

Re: [swfmill] Does swfmill have any options for image compression?

2008-05-05 Thread Ralf Fuest
Flash seems to require a color image with pre-multiplied alpha, otherwise the colors in semi transparent areas are wrong. You can use the following command to create the color image using ImageMagick: convert source.png -channel RGB -fx u*a image.jpg Ralf I tested this theory and I was

Re: [swfmill] Does swfmill have any options for image compression?

2008-05-04 Thread Mark Winterhalder
Tested it at work, with a 24 bit PNG with semi-transparent areas, saved for web out of Photoshop: - Original PNG: 858 KB - SWF output size, with JPEG quality for publishing set to 0 (zero): 177 KB - SWF output size, JPEG quality set to 100 (hundred): 627 KB The low quality version

Re: [swfmill] Does swfmill have any options for image compression?

2008-05-04 Thread mawe
Mark Winterhalder schrieb: Tested it at work, with a 24 bit PNG with semi-transparent areas, saved for web out of Photoshop: - Original PNG: 858 KB - SWF output size, with JPEG quality for publishing set to 0 (zero): 177 KB - SWF output size, JPEG quality set to 100 (hundred): 627 KB

Re: [swfmill] Does swfmill have any options for image compression

2008-04-27 Thread Baluta Cristian
i asked this 1 or 2 weeks ago also, and the answer was no, but because i need to import a lot of png's i decided that flash is best because can compress them, and can create one frame for each image. otherwise is unacceptable for swfmill to let them at 100% quality. On Fri, Apr 25, 2008 at 9:07

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-25 Thread mawe
Mark Winterhalder schrieb: Yes, the Flash IDE is what I meant. 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

Re: [swfmill] Does swfmill have any options for image compression

2008-04-25 Thread Walton, Lynn
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

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-25 Thread mawe
mawe schrieb: Mark Winterhalder schrieb: Yes, the Flash IDE is what I meant. 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

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-25 Thread Joel Poloney
I tested this theory and I was correct, the 8bit mask doesn't work for semi-transparencies (unless I'm doing it incorrectly). I followed your example ralf and it worked great for images with 0% or 100% transparency, but not for variable transparencies (ie. tinted glass). Is this a bug with

[swfmill] Does swfmill have any options for image compression?

2008-04-24 Thread Walton, Lynn
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

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-24 Thread Mark Winterhalder
On Thu, Apr 24, 2008 at 7:15 PM, Walton, Lynn [EMAIL PROTECTED] 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

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-24 Thread Joel Poloney
On Thu, Apr 24, 2008 at 2:23 PM, Mark Winterhalder [EMAIL PROTECTED] wrote: 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). If you're talking about the

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-24 Thread Mark Winterhalder
On Thu, Apr 24, 2008 at 11:32 PM, Joel Poloney [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 2:23 PM, Mark Winterhalder [EMAIL PROTECTED] wrote: 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

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-24 Thread Ralf Fuest
I'm not sure this is the same thing the flash IDE does but this is a way to get better compression for transparent pngs using swfmill: I have used ImageMagick to do the image conversions: 1. Convert the image to an jpg (only color information): convert source.png image.jpg 2. Convert the alpha

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-24 Thread Joel Poloney
Ralf, Sounds good, I'm going to try this soon. Do you know how well this works if parts of image are 50% transparent instead of 100%? I'm going to try it, but I'm afraid that the colors might not look right. -- Joel On Thu, Apr 24, 2008 at 3:00 PM, Ralf Fuest [EMAIL PROTECTED] wrote: I'm not