Re: Scaling image is losing background transparency [message #171693 is a reply to message #171690] |
Sun, 16 January 2011 02:48 |
Chuck Anderson
Messages: 63 Registered: September 2010
Karma:
|
Member |
|
|
The Natural Philosopher wrote:
> Michael Fesser wrote:
>> .oO(The Natural Philosopher)
>>
>>> I ended up using gif mind you because IE6 couldn't suss tranaparent
>>> background PNG's. Lemme see if I have some code frags somewhere.
>>
>> GIF is completely dead, there's not a single reason to use it anymore.
>> And IE6 _can_ use even alpha-transparent PNGs if you want. Requires a
>> little workaround, though. But who really uses IE6 anymore?
>>
>
> I do because some people do :-)
> And gifs are by and large smaller than pngs.
>
> So save bandwidth.
But look at the difference in quality:
http://cycletourist.com/temp/watermark.php (two overlays at bottom of page).
I did this to make on-the-fly watermark overlays, so I actually output a
jpg at the end, but the png (vs gif) overlays are so much nicer.
--
————————————————————————— ————
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
————————————————————————— ————
|
|
|