note 83611 added to function.imagick-identifyimage
| From: | rob at OhReally dot nl | Date: | Wed, 04 Jun 2008 13:49:14 +0000 |
| Subject: | note 83611 added to function.imagick-identifyimage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140113@lists.php.net to get a copy of this message | ||
The array returned by Imagick::identifyImage():
Array
(
[imageName] => /some/path/image.jpg
[format] => JPEG (Joint Photographic Experts Group JFIF format)
[geometry] => Array
(
[width] => 90
[height] => 90
)
[type] => TrueColor
[colorSpace] => RGB
[resolution] => Array
(
[x] => 300
[y] => 300
)
[units] => PixelsPerInch
[fileSize] => 1.88672kb
[compression] => JPEG
[signature] => 9a6dc8f604f97d0d691c0286176ddf992e188f0bebba98494b2146ee2d7118da
)
Looks like the only way to get the mimetype is getimagesize()...
----
Server IP: 213.249.64.162
Probable Submitter: 77.249.55.86
----
Manual Page -- http://www.php.net/manual/en/function.imagick-identifyimage.php
Edit -- https://master.php.net/note/edit/83611
Del: integrated -- https://master.php.net/note/delete/83611/integrated
Del: useless -- https://master.php.net/note/delete/83611/useless
Del: bad code -- https://master.php.net/note/delete/83611/bad+code
Del: spam -- https://master.php.net/note/delete/83611/spam
Del: non-english -- https://master.php.net/note/delete/83611/non-english
Del: in docs -- https://master.php.net/note/delete/83611/in+docs
Del: other reasons-- https://master.php.net/note/delete/83611
Reject -- https://master.php.net/note/reject/83611
Search -- https://master.php.net/manage/user-notes.php