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 #171713 is a reply to message #171712] Mon, 17 January 2011 23:38 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Henrik Carlqvist wrote:

> Michael Fesser <netizen(at)gmx(dot)de> wrote:
>> GIF is completely dead, there's not a single reason to use it anymore.

Only a Sith deals in absolutes.

> Png with alpha transparency is really better than transparent gif files.

No, it really is not. Meaning, it depends. In many cases you will be
better off (in compatibility, and download size) creating a GIF image
indexed to your needs than supplying a PNGA image. Where compatibility is
concerned, see if you can supply IE6 and 7 (yes, the former is still in use
beyond its end-of-life, and you cannot always convince people/companies to
upgrade) with a corresponding replacement GIF image through Conditional
Comments. Where size is concerned, see which file is smaller and fits best
to your layout (you would choose PNGA over GIF where the image contained
more than 256 different but important colors, or was to be displayed against
a randomly changing background color or image, for example).

> However, is there any good alternative to animated gif files on the web?

Unfortunately, no. And I am sorry to say, in hindsight (and back then,
foresight already), IMHO we have to thank the Mozilla Drivers for that.¹ :-(

> Yes, there is apng which in theory might be able to replace animated gifs,
> however in practice animated gifs has more widespread support.

Indeed. *sigh*

> Also, the major reason for developing the .png format was that unisys had
> a patent for the compression algorithm used in .gif. I don't think that
> patent is valid anymore.

It has expired world-wide in 2003/2004 CE.²


PointedEars
___________
¹ <http://en.wikipedia.org/wiki/APNG>
<https://bugzilla.mozilla.org/show_bug.cgi?id=18574> (please vote for,
but don't spam this bug. TIA.)
² <http://en.wikipedia.org/wiki/GIF#Unisys_and_LZW_patent_enforcement>
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)
[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 14:06:04 GMT 2024

Total time taken to generate the page: 0.07313 seconds