Re: installing imagick problems

From: Date: Sun, 31 Aug 2003 19:31:42 +0000
Subject: Re: installing imagick problems
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-161323@lists.php.net to get a copy of this message
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 (news.groups@web.de):
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


« previous php.general (#161323) next »