* Thus wrote Brent Clements:
> I have a class that only accepts jpegs and png's but all of my images(we have over 
> 200 of them) are in gif format.
> 
> Is there a way to convert from gif to jpeg on the fly without outputting the new 
> image to file or the screen or using a system call to run the gif2XXX utilities?
> 
> I've tried imagejpeg(imagecreatefromgif($image)) but it outputs the image to the 
> html screen as it should.
> 

http://php.net/imagejpeg

bool imagejpeg ( resource image [, string filename [, int quality]])

Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to