> Sure can: > > $im = imagecreatefromgif('/path/to/image.gif'); > imagejpeg($im, '/path/to/converted.jpg');
Thank you sooooooooooooooo much! I was completly sure that due to the lizence claims it was not possible with gd > 1.6
This solves lots of my problems.
Have a great day,
merlin
Curt Zirzow wrote:
* Thus wrote Merlin ([EMAIL PROTECTED]):
hmmmm. I see your point.
Imagemagick does not need to rebuild the configure, but the pear extension:
5) cd /usr/src/php/ext/imagick 6) phpize
Ahh.. that explains it all :)
I need to be able to convert gifs to jpegs. GD cant do thsi, right?
Sure can:
$im = imagecreatefromgif('/path/to/image.gif'); imagejpeg($im, '/path/to/converted.jpg');
You just cant use the imagegif() function unless you use a version of gd < 1.6.
Curt
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php