FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Scaling image is losing background transparency
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Scaling image is losing background transparency [message #171695 is a reply to message #171694] Sun, 16 January 2011 08:29 Go to previous messageGo to previous message
Chuck Anderson is currently offline  Chuck Anderson
Messages: 63
Registered: September 2010
Karma:
Member
The Natural Philosopher wrote:
> Chuck Anderson wrote:
>> 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 qulity:
>> 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.
>>
> That's not a function of the gif per se.
>
>

Huh? That's exactly what it is. Can you make the transparency in a gif
image look a good as the transparency in a 24 bit png file? I don't
think so. 24 bit png with alpha channel transparency is beyond anything
you can do with a gif file.

--
————————————————————————— ————
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
————————————————————————— ————
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: having better solution to promote your products.
Next Topic: newbie: Zend or PEAR supported on web hosting company?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 23:23:07 GMT 2024

Total time taken to generate the page: 0.04312 seconds