Hi all. Thanks again to all who helped answer the questions about
swfmill and image compression, particularly png compression. Special
thanks to Ralf for helping with the steps on how to do it in
imagemagick.
After successfully implementing what I needed using imagemagick I was
told I had to f
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 expre
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(){ if(/^\s.*alpha:
>(\w+)-bit/){print "$1";}}'
>Luke
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
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
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
It's good to hear that you find the information useful.
This should work with every png file with an alpha channel.
I just saw that step 1 could also be written shorter:
convert source.png -fx "u*a" image.jpg
Ralf
> Ralf,
>
> You're awesome! Thanks for providing this information on how to use
lf Fuest <[EMAIL PROTECTED]>
Subject: Re: [swfmill] Does swfmill have any options for image
compression?
To: swfmill@osflash.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain
Flash seems to require a color image with pre-multiplied alpha,
otherwise the colors in semi tr
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 corre
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 wor
quoting "Joel Poloney" <[EMAIL PROTECTED]>:
> 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 transparen
Mark Winterhalder schrieb:
> On Sun, May 4, 2008 at 5:46 PM, mawe <[EMAIL PROTECTED]> 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
On Sun, May 4, 2008 at 5:46 PM, mawe <[EMAIL PROTECTED]> 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 b
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 (hundre
> 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 ver
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
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?
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 othe
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 simpl
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 equi
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 no
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 c
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
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 th
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
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:
---
26 matches
Mail list logo