[PHP] Getting the compression rate of a jpeg image

2002-02-27 Thread Andy

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





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




[PHP] Getting the compression rate of a jpeg image possible?

2002-02-27 Thread Andy

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



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