Req #65187 [Opn->Csd]: exif_read_data : add support for stream resource
| From: | imprec at gmail dot com | Date: | Thu, 18 Jul 2013 11:38:34 +0000 |
| Subject: | Req #65187 [Opn->Csd]: exif_read_data : add support for stream resource | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-180322@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65187&edit=1
ID: 65187
User updated by: imprec at gmail dot com
Reported by: imprec at gmail dot com
Summary: exif_read_data : add support for stream resource
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: EXIF related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Closing it as it's actually already supported via
exif_read_data('data://image/jpeg;base64,'.base64_encode(file_get_contents('image.
jpg')))
Previous Comments:
------------------------------------------------------------------------
[2013-07-02 21:47:37] imprec at gmail dot com
Description:
------------
exif_read_data currently read exif metadata only from filepath.
In case the image is in memory (stream resource, binary string, etc...) the image
as to be written on disk before reading the exif data.
It would be awesome to be able to read from a stream resource.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65187&edit=1