imagemagick and file size
| From: | Ben-Nes Michael | Date: | Wed, 22 Aug 2001 08:49:03 +0000 |
| Subject: | imagemagick and file size | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-63878@lists.php.net to get a copy of this message | ||
Hi
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
http://sites.canaan.co.il
--------------------------