Computer Webmaster Gaming Console Graphics Forum

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.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > PHP
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

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.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 5:13 PM   #1
Jerome
 
Jerome's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Transform a Gif to PNG or JPG without NetPbm or anything else

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
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 07-01-2007, 5:13 PM   #2
KAH
 
KAH's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Transform a Gif to PNG or JPG without NetPbm or anything else

"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
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 5:13 PM   #3
Andy Hassall
 
Andy Hassall's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Transform a Gif to PNG or JPG without NetPbm or anything else

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)
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 5:14 PM   #4
Joe T.
 
Joe T.'s Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Transform a Gif to PNG or JPG without NetPbm or anything else

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)

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 5:14 PM   #5
Nico Schuyt
 
Nico Schuyt's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Transform a Gif to PNG or JPG without NetPbm or anything else

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/


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 5:22 PM   #6
KAH
 
KAH's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Transform a Gif to PNG or JPG without NetPbm or anything else

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
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 5:23 PM   #7
Andy Hassall
 
Andy Hassall's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Transform a Gif to PNG or JPG without NetPbm or anything else

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)
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 5:24 PM   #8
Jerome
 
Jerome's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Transform a Gif to PNG or JPG without NetPbm or anything else

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.

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags: , , , , , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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




All times are GMT +1. The time now is 12:14 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98