note 51317 deleted from ref.image by tularis
| From: | tularis@php.net | Date: | Sun, 29 Jun 2008 21:08:16 +0000 |
| Subject: | note 51317 deleted from ref.image by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140951@lists.php.net to get a copy of this message | ||
Note Submitter: jasperbg at gmail dot com
----
To those writing a new function to create a generic imagecreatefromfile() function: You are making
it needlessly complex. Why not just:
<?php
$image = imagecreatefromstring(file_get_contents("/path/to/image.ext"));
?>