#27238 [Opn]: iptcparse() function misses some fields
| From: | pajoye@php.net | Date: | Fri, 13 Feb 2004 14:29:23 +0000 |
| Subject: | #27238 [Opn]: iptcparse() function misses some fields | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-54858@lists.php.net to get a copy of this message | ||
ID: 27238
Updated by: pajoye@php.net
Reported By: philip at nancarrow dot net
Status: Open
Bug Type: Feature/Change Request
Operating System: Windows and Linux
PHP Version: 4.3.4
New Comment:
> I can provide you with JPEG files containing IIM record 1
> if required; they're quite common in the news industry.
Please do :)
If you can provide an URL with some images with the required fields and
a txt file for the expected result.
Note that I never read the charset part in any docs about IPTC
standart. Have you a link that describes it?
pierre
Previous Comments:
------------------------------------------------------------------------
[2004-02-13 06:27:10] philip at nancarrow dot net
Description:
------------
The iptcparse() function (GD extension) only returns IPTC/NAA records 2
and upward, skipping past record 1. This appears to be by design, but
means that the returned data is incomplete, for example the
"destination" dataset 1:05 is missing. Worse that this is the fact that
"coded character set" (1:90) is missing, and without this value the
encoding of the data is unknown (for example if 1:90 specifies ESC,%,G
the data is UTF8 encoded). I assume that the current implementation is
defaulting to ASCII or Latin1 encoding.
I can provide you with JPEG files containing IIM record 1 if required;
they're quite common in the news industry.
Thank you
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27238&edit=1