Re: [swfmill] Does swfmill have any options for image compression
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 to use? identify -verbose file.png | perl -pe 'while(STDIN){ if(/^\s.*alpha: (\w+)-bit/){print $1;}}' Luke Thanks for your post Luke! I didn't see your reply until I had already figured out something similar, but seeing your post helped me see I was on the right track. I'm doing something in java with the -verbose output for now, which isn't nearly as terse as perl but it works. Would still prefer a -format expression if there is one. 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 swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression
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 Thanks for your post Luke! I didn't see your reply until I had already figured out something similar, but seeing your post helped me see I was on the right track. I'm doing something in java with the -verbose output for now, which isn't nearly as terse as perl but it works. Would still prefer a -format expression if there is one. 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 swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression
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 alpha, nothing is printed out. identify -verbose file.png | perl -pe 'while(STDIN){ if(/^\s.*alpha: (\w+)-bit/){print $1;}}' Luke On Tue, May 13, 2008 at 4:01 PM, Walton, Lynn [EMAIL PROTECTED] wrote: Hi Ralf and others, This should work with every png file with an alpha channel. Ralf Sorry to be a pain, but would you happen to be able to tell me the way with ImageMagick to be able to tell if the png file has an alpha channel? I've been studying all the ImageMagick references I can find, but haven't found it yet. Of the info in identify -verbose, I don't know which would be the most reliable indicator? 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 swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression
I've been playing around and think maybe I have an answer to my own question. But, since I haven't much confidence, what do you think of the following Ralf? identify -format %[fx:a] my.png It seems to return 0 for ones with no alpha channel and 1 for ones with. I had also come up with greping the output of identify -verbose, looking for alpha: in between the Channel depth: and Channel statistics: headers, but obviously the -format is more elegant if it is going to be a reliable way to determine if an alpha channel is present. So my psudeocode algorithm would be something like If identify -format %[fx:a] my.png returns 1 Then do: convert my.png -quality 80 -fx u*a my.jpg convert my.png -channel matte -negate -separate -depth 8 -type Grayscale myMask.png Put clip id=my_mc import=my.jpg mask=myMask.png/ in my simple movie xml. Else Do: convert my.png -quality 80 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 with every png file with an alpha channel. Ralf Sorry to be a pain, but would you happen to be able to tell me the way with ImageMagick to be able to tell if the png file has an alpha channel? 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
Re: [swfmill] Does swfmill have any options for image compression?
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. 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 swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 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? ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 showed heavy artifacts and was, well ... low quality. I couldn't notice any differences in quality for the high quality version, despite the 200+ KB difference in filesize. Maybe this helps. Thanks, that's not what I had expected, especially not artefacs since it's supposed to be lossless. I just had a look at the official specs at http://www.adobe.com/devnet/swf/ and lossless images are raw (with two or three settings for bits per pixel) and just zlib compressed. While zlib has a setting for compression level, this only affects how long it takes to compress, it mustn't result in loss of information. Do the artifacts your getting maybe look like jpeg compression? Because that would mean that Flash converts it to jpg. That would surprise me quite a bit, but it would be an explanation, and it would be easy to check with Swfmill. Mark ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 The low quality version showed heavy artifacts and was, well ... low quality. I couldn't notice any differences in quality for the high quality version, despite the 200+ KB difference in filesize. Maybe this helps. Thanks, that's not what I had expected, especially not artefacs since it's supposed to be lossless. I just had a look at the official specs at http://www.adobe.com/devnet/swf/ and lossless images are raw (with two or three settings for bits per pixel) and just zlib compressed. While zlib has a setting for compression level, this only affects how long it takes to compress, it mustn't result in loss of information. Do the artifacts your getting maybe look like jpeg compression? Because that would mean that Flash converts it to jpg. That would surprise me quite a bit, but it would be an explanation, and it would be easy to check with Swfmill. Mark I think these are jpeg artifacts, though really strong ones. Check it out here: http://typeofundefined.com/stuff/screens/swf_png_low.png Matthias ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression
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 PM, Walton, Lynn [EMAIL PROTECTED] wrote: 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 -- Cristi www.ralcr.com ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 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 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 showed heavy artifacts and was, well ... low quality. I couldn't notice any differences in quality for the high quality version, despite the 200+ KB difference in filesize. Maybe this helps. Matthias ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression
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
Re: [swfmill] Does swfmill have any options for image compression?
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 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 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 showed heavy artifacts and was, well ... low quality. I couldn't notice any differences in quality for the high quality version, despite the 200+ KB difference in filesize. Maybe this helps. Matthias Almost forgot, here's the PNG used: http://typeofundefined.com/stuff/screens/website_web.png I don't have swfmill at hand here, so maybe someone else wants to built it. Matthias ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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? Regarding png size, I've been using imagemagick to resize my images and apparently have been doing it wrong all along. I have been able to get some file size improvements out of it, but I still feel I can do something here on swfmill's end to compress it even further. Thoughts? -- Joel On Thu, Apr 24, 2008 at 9:37 PM, Joel Poloney [EMAIL PROTECTED] wrote: 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 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 channel to a grayscale png: convert source.png -channel matte -negate -separate -depth 8 -type Grayscale mask.png 3. Import in swfmill: clip id=foo import=image.jpg mask=mask.png/ Of course you can also save these files directly from your image editing application. I've uploaded a example at: http://pep-mp.de/swfmill/Mask.zip The archive contains two xml files. 1.xml does use the original image and 2.xml the jpg image and png mask. Ralf Am Donnerstag, den 24.04.2008, 14:32 -0700 schrieb 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 Flash IDE, then this is incorrect. Even though it says jpeg compression, it will affect all images, regardless. For example, I had it compressing my transparent PNG images quite a bit. I have no idea what type of compression they're using, but I think that's what this thread (and my thread) are all about. How can we achieve such compression from the command line. -- Joel ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] Does swfmill have any options for image compression?
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 swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 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 swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 Flash IDE, then this is incorrect. Even though it says jpeg compression, it will affect all images, regardless. For example, I had it compressing my transparent PNG images quite a bit. I have no idea what type of compression they're using, but I think that's what this thread (and my thread) are all about. How can we achieve such compression from the command line. -- Joel ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 to compress your JPGs further if desired). If you're talking about the Flash IDE, then this is incorrect. Even though it says jpeg compression, it will affect all images, regardless. For example, I had it compressing my transparent PNG images quite a bit. I have no idea what type of compression they're using, but I think that's what this thread (and my thread) are all about. How can we achieve such compression from the command line. 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 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 ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 channel to a grayscale png: convert source.png -channel matte -negate -separate -depth 8 -type Grayscale mask.png 3. Import in swfmill: clip id=foo import=image.jpg mask=mask.png/ Of course you can also save these files directly from your image editing application. I've uploaded a example at: http://pep-mp.de/swfmill/Mask.zip The archive contains two xml files. 1.xml does use the original image and 2.xml the jpg image and png mask. Ralf Am Donnerstag, den 24.04.2008, 14:32 -0700 schrieb 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 Flash IDE, then this is incorrect. Even though it says jpeg compression, it will affect all images, regardless. For example, I had it compressing my transparent PNG images quite a bit. I have no idea what type of compression they're using, but I think that's what this thread (and my thread) are all about. How can we achieve such compression from the command line. -- Joel ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Does swfmill have any options for image compression?
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 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 channel to a grayscale png: convert source.png -channel matte -negate -separate -depth 8 -type Grayscale mask.png 3. Import in swfmill: clip id=foo import=image.jpg mask=mask.png/ Of course you can also save these files directly from your image editing application. I've uploaded a example at: http://pep-mp.de/swfmill/Mask.zip The archive contains two xml files. 1.xml does use the original image and 2.xml the jpg image and png mask. Ralf Am Donnerstag, den 24.04.2008, 14:32 -0700 schrieb 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 Flash IDE, then this is incorrect. Even though it says jpeg compression, it will affect all images, regardless. For example, I had it compressing my transparent PNG images quite a bit. I have no idea what type of compression they're using, but I think that's what this thread (and my thread) are all about. How can we achieve such compression from the command line. -- Joel ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org