![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Hi, does anybody now how to transform a gif, in png ? I explain myself : I use shared servers, so i only have gd to transform images. Sometimes, i have netpbm, but not at this time. As GD >1.6 does not support Gif format (only reading), i want to transform gif in png. But how to do this without specific library (gif2png for example) ????? Is there any body who solve this problem ????? Thanks for yours answers. Jerome | |||
| Advertisements |
| | #2 | ||
| "Nico Schuyt" <nschuyt@hotmail.com> wrote in news:3f41f7a8$0$28898$1b62eedf@news.euronet.nl: > AFAIK GD does not support GIF anymore, because the packing algorithm > in GIF is copyrighted > Regards, Nico Actually, one of the patents expired this summer and I know the other expires this year as well (not sure if it has yet). Not that I think that GIF support will be added back into GD. GIF is obsolete and inferior, would be a waste of time. KAH | |||
| | #3 | ||
| On Tue, 19 Aug 2003 11:56:52 GMT, KAH <kah@kahnews.cjb.net> wrote: >"Nico Schuyt" <nschuyt@hotmail.com> wrote in >news:3f41f7a8$0$28898$1b62eedf@news.euronet.nl: > >> AFAIK GD does not support GIF anymore, because the packing algorithm >> in GIF is copyrighted >> Regards, Nico > >Actually, one of the patents expired this summer and I know the other >expires this year as well (not sure if it has yet). Not that I think that >GIF support will be added back into GD. GIF is obsolete and inferior, would >be a waste of time. The author of GD says on his page that GIF will go back in next year when the final patent runs out. http://www.boutell.com/gd/faq.html -- Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk) Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space) | |||
| | #4 | ||
| Andy Hassall wrote: >On Tue, 19 Aug 2003 11:56:52 GMT, KAH <kah@kahnews.cjb.net> wrote: > > > >>"Nico Schuyt" <nschuyt@hotmail.com> wrote in >>news:3f41f7a8$0$28898$1b62eedf@news.euronet.nl : >> >> >> >>>AFAIK GD does not support GIF anymore, because the packing algorithm >>>in GIF is copyrighted >>>Regards, Nico >>> >>> >>Actually, one of the patents expired this summer and I know the other >>expires this year as well (not sure if it has yet). Not that I think that >>GIF support will be added back into GD. GIF is obsolete and inferior, would >>be a waste of time. >> >> > > The author of GD says on his page that GIF will go back in next year when the >final patent runs out. > >http://www.boutell.com/gd/faq.html > >-- >Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk) >Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space) > > In the mean time the question has gone unanswered and somewhat ignored. He's asking how to convert to PNG. Personally i don't know, so there's my answer. i hope someone else has a better one. joe t (2-cents poorer) | |||
| | #5 | ||
| Joe T. wrote: >Jerome wrote: >> does anybody now how to transform a gif, in png ? > In the mean time the question has gone unanswered and somewhat > ignored. He's asking how to convert to PNG. Personally i don't know, > so there's my answer. i hope someone else has a better one. Maybe: http://www.imagemagick.org/ | |||
| | #6 | ||
| Andy Hassall <andy@andyh.co.uk> wrote in news:7dr4kvs0r61b2h8hi4o4kaebbmhbt99bhn@4ax.com: > The author of GD says on his page that GIF will go back in next year > when the > final patent runs out. > > http://www.boutell.com/gd/faq.html Really? Seems a waste of time to me. KAH | |||
| | #7 | ||
| On Wed, 20 Aug 2003 01:18:24 GMT, "Joe T." <go-spam@your.self> wrote: >In the mean time the question has gone unanswered and somewhat ignored. >He's asking how to convert to PNG. Personally i don't know, so there's >my answer. i hope someone else has a better one. GIF to PNG is fine, since (at least the PHP-bundled GD) has read-only GIF support. ImageCreateFromGif followed by ImagePng. <?php $im = imagecreatefromgif('circle_1.gif'); imagepng($im); ?> Just tried it with the bundled 2.0 GD library, worked fine. It's the other way around that can't be done. -- Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk) Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space) | |||
| | #8 | ||
| Thanks for this example. I'm surprised, because, i've already done this, but i always had a message like bad Format ........ But in fact with time and distance, and thanks to Andy i implent again my code, and it's working ! Cool. For the waste of time of KHA : When your customer need Gif, he need Gif, and you can't say "excuse me But Gif is too Uggly, use PNG". This is the business Law. Really thanks for your contributions.... Kind regards Jerome Andy Hassall <andy@andyh.co.uk> wrote in message news:<95m7kvgs7tp5koiiqh69ce4ct19hrphbat@4ax.com>. .. > On Wed, 20 Aug 2003 01:18:24 GMT, "Joe T." <go-spam@your.self> wrote: > > >In the mean time the question has gone unanswered and somewhat ignored. > >He's asking how to convert to PNG. Personally i don't know, so there's > >my answer. i hope someone else has a better one. > > GIF to PNG is fine, since (at least the PHP-bundled GD) has read-only GIF > support. > > ImageCreateFromGif followed by ImagePng. > > <?php > $im = imagecreatefromgif('circle_1.gif'); > imagepng($im); > ?> > > Just tried it with the bundled 2.0 GD library, worked fine. > > It's the other way around that can't be done. | |||
| Featured Websites | ||||
|
![]() |
| Tags: anything, else, gif, jpg, netpbm, png, transform, without |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ordered List/ UnOrdered List -> Transform them into drop downmenus | Mike Scirocco | CSS | 0 | 07-01-2007 2:17 PM |
| Gradual transform | edjh | Graphics in general | 1 | 06-11-2007 11:51 PM |
| Gradual transform | Kingdom | Graphics in general | 0 | 06-11-2007 11:47 PM |
| cvs: pear /Image_Transform Transform.php | Peter Bowyer | Pear | 0 | 05-20-2007 7:42 PM |
| Featured Websites | ||||
|