Getting the compression rate of a jpeg image

From: Date: Wed, 27 Feb 2002 10:46:34 +0000
Subject: Getting the compression rate of a jpeg image
Groups: php.general 
Request: Send a blank email to php-general+get-86437@lists.php.net to get a copy of this message
Hi there, I am wondering if it is possible to get the compression rate of a jpeg file?! As I did read on php.net creating a jpeg gives you a third parameter with the compression. Default is 75 %. So asuming the user has an image compressed with 50 % and he does upload this picture through my application, PHP will "blow" up the size by going back to 75 %. Quality stayes the same. So it is absolutly neccessary to know that value. Does somebody know how to get this thing? Thanx for your help guys, Cheers Andy

« previous php.general (#86437) next »