#11283 [Com]: read_exif_data only gets first "Comments" record
| From: | free-pic347 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:05:33 +0000 |
| Subject: | #11283 [Com]: read_exif_data only gets first "Comments" record | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62948@lists.php.net to get a copy of this message | ||
ID: 11283
Comment by: free-pic347 at hotmail dot com
Reported By: roland at astrofoto dot org
Status: Closed
Bug Type: *Graphics related
Operating System: Linux 2.2.16/RedHat 7.0
PHP Version: 4.0 Latest CVS (2001-06-05)
New Comment:
<a href=http://exellent-fighting-u.da.ru>pic
free</a>
Previous Comments:
------------------------------------------------------------------------
[2001-08-04 18:34:55] rasmus@php.net
Ok, read_exif_data() will now return an array of comments if there is
more than 1. Please check the CVS version and let me know if it works
for you.
------------------------------------------------------------------------
[2001-08-03 22:29:52] roland at astrofoto dot org
I've put a picture online which has the following JPEG comments
Title:Looking Coy
Subject:Matthew Roberts
Location:Forest Hills, NY
The image is at http://www.astrofoto.org/~roland/tmp/20010601-0001.jpg
------------------------------------------------------------------------
[2001-08-03 21:57:22] sniper@php.net
could you please place some of those jpegs somewhere
where we can access them to test this.
--Jani
------------------------------------------------------------------------
[2001-06-05 05:33:22] roland at astrofoto dot org
This is actually CVS from 2001-06-03/04.
I have a JPG which has comments added to it of the form "<KEY>:
<VALUE>" so I can add image titles and such that will propagate with
the image. When I look at the array retrieved by read_exif_data, it
includes only one [Comments] element, the first comment added to the
file.
The comments were added with wrjpgcom and can be read back with
rdjpgcom; the latter retrieves all of the comments.
For my purposes, I can shove everything into a single comment, but it
still looks like a bug to me. I would guess that if there is more than
one commen block that read_exif_data should make the [Comments] element
an array.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11283&edit=1