note 121240 added to function.imagecreatefromstring
| From: | patrick_bates | Date: | Sat, 17 Jun 2017 16:02:25 +0000 |
| Subject: | note 121240 added to function.imagecreatefromstring | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209142@lists.php.net to get a copy of this message | ||
If you need more formats than BMP, JPEG, GIF and PNG you can use this free API:
<?php
$url = 'http://server.com/image.psd';
$data = json_decode(file_get_contents('http://api.rest7.com/v1/image_convert.php?url='
. $url . '&format=png'));
if (@$data->success !== 1)
{
die('Failed');
}
$image = file_get_contents($data->file);
file_put_contents('converted_image.png', $image);
----
Server IP: 72.52.91.14
Probable Submitter: 83.24.44.89
----
Manual Page -- http://php.net/manual/en/function.imagecreatefromstring.php
Edit -- https://master.php.net/note/edit/121240
Del: integrated -- https://master.php.net/note/delete/121240/integrated
Del: useless -- https://master.php.net/note/delete/121240/useless
Del: bad code -- https://master.php.net/note/delete/121240/bad+code
Del: spam -- https://master.php.net/note/delete/121240/spam
Del: non-english -- https://master.php.net/note/delete/121240/non-english
Del: in docs -- https://master.php.net/note/delete/121240/in+docs
Del: other reasons-- https://master.php.net/note/delete/121240
Reject -- https://master.php.net/note/reject/121240
Search -- https://master.php.net/manage/user-notes.php