note 123791 added to imagick.construct
| From: | divinity76 at gmail dot com | Date: | Mon, 22 Apr 2019 07:55:23 +0000 |
| Subject: | note 123791 added to imagick.construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210654@lists.php.net to get a copy of this message | ||
if you need to create an image from a string containing the image binary, use readImageBlob, eg
<?php
$imagick = new Imagick();
$imagick->readImageBlob($str);
?>
likewise if you need to create an image from a file handle (without having the filepath), use
readImageFile()
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.142 (proxied: 85.164.188.42)
----
Manual Page -- http://php.net/manual/en/imagick.construct.php
Edit -- https://master.php.net/note/edit/123791
Del: integrated -- https://master.php.net/note/delete/123791/integrated
Del: useless -- https://master.php.net/note/delete/123791/useless
Del: bad code -- https://master.php.net/note/delete/123791/bad+code
Del: spam -- https://master.php.net/note/delete/123791/spam
Del: non-english -- https://master.php.net/note/delete/123791/non-english
Del: in docs -- https://master.php.net/note/delete/123791/in+docs
Del: other reasons-- https://master.php.net/note/delete/123791
Reject -- https://master.php.net/note/reject/123791
Search -- https://master.php.net/manage/user-notes.php