Image COnversion

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
moeed
Forum Newbie
Posts: 6
Joined: Thu Aug 07, 2003 10:48 pm

Image COnversion

Post by moeed »

Is it possible to convert a gif image to jpg image on the fly using GD Library

Moeed
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Why is this a sticky?

Anyways, what does the manual say? Another option if GD isn't capable of it is to try something like image magik. Use the PHP system commands.

That aughta' fix 'ya!

Cheers,
BDKR
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

GD library

Post by phpScott »

It will probably depend on which version of the GD library you are using
Version 1 has support for gif's but version 2 doesn't.
Something about liscenceing the gif compression technology.

I currently using version 2 combinde a jpg with a png and save it as a jpg so I don't see why you couldn't convert images doing something simillar.

phpScott
Post Reply