I've been doing some similar with images. I've been executing ImageMagick utils from php. You could do it as follows:

if (exec("convert image.gif image.jpeg")) { some error code }

ImageMagick I believe comes with most Linux distributions, but can also be found at www.imagemagick.org

I hope this helps you out :-)

Student Center wrote:

if i have a GIF file, how can i convert this to a JPG file through php?

p.s.: ill do anything as long as i dont have to recompile php/apache

- noah

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
209 Media <http://www.209media.com>
Ron Wills <[EMAIL PROTECTED]>
Programmer
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to