Click here to get back home

thumbnails of transparent background gifs

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
thumbnails of transparent background gifs salmobytes 06-23-2008
Get Chitika Premium
Posted by salmobytes on June 23, 2008, 9:24 am
Please log in for more thread options
Making thumbnail images isn't all that hard, for the most
part. There is lots of shrink-wrapped code out there you
can download and/or munge from. But nothing I've yet
seen does the right thing with transparent background gifs.

If you (I) try to work with ImageCreateFromGif($this->path);
you end up with a black background.

Does anybody know how to make transparent background
gif thumbnails? Or maybe how to at least turn the background
to white?


--
/* Colin (Sandy) Pittendrigh >--O0>
**
*/

Posted by Captain Paralytic on June 23, 2008, 9:54 am
Please log in for more thread options
> Making thumbnail images isn't all that hard, for the most
> part. There is lots of shrink-wrapped code out there you
> can download and/or munge from. =A0But nothing I've yet
> seen does the right thing with transparent background gifs.
>
> If you (I) try to work with ImageCreateFromGif($this->path);
> you end up with a black background.
>
> Does anybody know how to make transparent background
> gif thumbnails? Or maybe how to at least turn the background
> to white?
>
> --
> /* Colin (Sandy) Pittendrigh >--O0>
> **
> */

Didn't the links (including the one to the manual) that you found when
you searched Google for
php transparent gif
help at all?

Posted by whileone on June 23, 2008, 12:11 pm
Please log in for more thread options

> Didn't the links (including the one to the manual) that you found when
> you searched Google for
> php transparent gif
> help at all?

Googling "php transparent gif" turns up dozens of links
to question and answer forums where the same question is asked
many times over.........and the answers are not at all clear.
I'd venture to say this is a FAQ with infrequent solutions.
I'm sure it's possible. I might even be able to fight with it
and solve it all on my own.

Questions on usenet invariably incur at least a few acerbic responses.
But questions on usenet often lead to good answers too.
So it's always worth a try.

:-)


Posted by Captain Paralytic on June 24, 2008, 8:13 am
Please log in for more thread options
>
> > Didn't the links (including the one to the manual) that you found when
> > you searched Google for
> > php transparent gif
> > help at all?
>
> Googling "php transparent gif" turns up dozens of links
> to question and answer forums where the same question is asked
> many times over.........and the answers are not at all clear.
But it also turns up a link to the manual which talks about setting
transparent backgrounds.

Posted by =?ISO-8859-1?Q?=22=C1lvaro_G=2 on June 23, 2008, 11:27 am
Please log in for more thread options
salmobytes escribió:
> Making thumbnail images isn't all that hard, for the most
> part. There is lots of shrink-wrapped code out there you
> can download and/or munge from. But nothing I've yet
> seen does the right thing with transparent background gifs.
>
> If you (I) try to work with ImageCreateFromGif($this->path);
> you end up with a black background.

But, does it work with *non-transparent* GIFs? As manual says, GIF
support was removed for a while due to patent issues.



> Does anybody know how to make transparent background
> gif thumbnails? Or maybe how to at least turn the background
> to white?

I'm kinda lost. There isn't such thing as "background" and
"non-background" GIFs... :-?



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--

Similar ThreadsPosted
thumbnails of transparent background gifs September 27, 2007, 10:34 am
PHP (GD) created transparent PNG: AlphaImageLoader makes black parts transparent instead of transparent color set with PHP December 27, 2006, 7:32 am
Transparent GIF December 22, 2005, 3:12 pm
Problems in IE with created gifs October 20, 2004, 8:17 pm
Resizing animated gifs March 4, 2005, 6:30 am
Resizing GIFs preserving transparency December 29, 2004, 6:00 pm
create or resize transparent .png - drop shadow - GD IM March 18, 2006, 11:39 pm
GD_Image, imagecopyresample, dithering the transparent color October 22, 2007, 2:42 am
Has anyone had problems with IE not showing thumbnailed gifs when Firefox and NN show them fine? October 29, 2004, 2:59 pm
php script for thumbnails December 9, 2004, 7:44 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap