I decrease image size using imagemagick with the following command:
function example() {
 $convert = "cat $userfile | /usr/X11R6/bin/convert - $type:-";
 return `$convert`;

the returned binary value is uploaded to the DB.

My main problem is that I don't know how to measure the decreased image size
while its stored in the variable.

Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122

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