iptcparse() function misses some fields
| Request #27238 | iptcparse() function misses some fields | ||||
|---|---|---|---|---|---|
| Submitted: | 2004-02-13 06:27 UTC | Modified: | 2004-03-06 12:24 UTC | ||
| From: | philip at nancarrow dot net | Assigned: | pajoye (profile) | ||
| Status: | Closed | Package: | Feature/Change Request | ||
| PHP Version: | 4.3.4 | OS: | Windows and Linux | ||
| Private report: | No | CVE-ID: | None | ||
[2004-02-13 06:27 UTC] 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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2004-02-13 09:29 UTC] pajoye@php.net
[2004-02-13 10:40 UTC] philip at nancarrow dot net
[2004-03-06 12:24 UTC] pajoye@php.net