note 128146 added to imagick.getimagelength
| From: | seb.gibbs.ymail.com via php-notes | Date: | Tue, 24 Jan 2023 12:43:08 +0000 |
| Subject: | note 128146 added to imagick.getimagelength | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220102@lists.php.net to get a copy of this message | ||
Quite often a jpeg image blob filesize will grow when reading back the image blob data!
eg.
$img = new Imagick();
$img->readImage($filename);
$sizeA = $img->getImageLength();
$blobdata = $img->getImageBlob();
$sizeB = $img->getImageLength();
Quite often sizeB will be greater than sizeA depending on the jpeg image being read
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.158.213 (proxied: 1.123.98.159)
----
Manual Page -- https://php.net/manual/en/imagick.getimagelength.php
Edit -- https://main.php.net/note/edit/128146
Del: integrated -- https://main.php.net/note/delete/128146/integrated
Del: useless -- https://main.php.net/note/delete/128146/useless
Del: bad code -- https://main.php.net/note/delete/128146/bad+code
Del: spam -- https://main.php.net/note/delete/128146/spam
Del: non-english -- https://main.php.net/note/delete/128146/non-english
Del: in docs -- https://main.php.net/note/delete/128146/in+docs
Del: other reasons-- https://main.php.net/note/delete/128146
Reject -- https://main.php.net/note/reject/128146
Search -- https://main.php.net/manage/user-notes.php