Re: [Rabbit-proxy-users] Convert and Transparent Images
Brought to you by:
ernimril
From: Robert O. <ro...@kh...> - 2004-04-23 18:38:32
|
Samuel Hill wrote: >Okay, bad idea. PNG is not the way to go, it really is the same as a gif. > > Well mostly, png are usually a few percent smaller. Png also have full alpha channels where gif only have one color that may be transparent. Gif is (up to) 256 (8 bit)colors, png have up to 32 bits (or is that 48 bits I'm not sure). >I guess there is little that can be done. >You could make the background (fill) of the area the same as the >background but would be complex. > > That would be _really_ complex. What about pages that have images as background. What about the browsers default background (seems to be mostly white today, but can be changed depending on browser). What about the user that only watches an image (as opposed to an image that is part of a web page). >Trick being how do you know it was a transparent gif, etc etc. > > So I do not think that there is much to do about this, provide a link to the unfiltered page seems to do it for me. It is not something that I will implement this century anyway. As for converting images into png files: "convert infile.gif outfile.png" yes it is that simple. You could also try something like "convert infile.jpeg png:outfile.P" if you want any other extension than png. Reading the man page for convert will reveal many more nice things that it can do. /robo |