Re: Size of images (in bytes)

From: Date: Thu, 23 Jan 2003 16:37:06 +0000
Subject: Re: Size of images (in bytes)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132854@lists.php.net to get a copy of this message
> After calling to the function ImageCreateFromJPEG() and before outputing > the image with ImageJPEG, is there a way to determine the images size in > bytes? > I want to reduce the quality more and more until it has reached a > certain level. > Thanks, > Olli You have the image data in a string, right? Could you relate the length of that string to the resulting size of the file, somehow? ---John Holmes...

« previous php.general (#132854) next »