php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16588 Extra EXIF headers
Submitted: 2002-04-13 08:31 UTC Modified: 2002-04-13 14:26 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: rcarmo at accao dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.1.2 OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rcarmo at accao dot net
New email:
PHP Version: OS:

 

 [2002-04-13 08:31 UTC] rcarmo at accao dot net
Hello there. I have been investigating the EXIF tags that Windows XP can add to files, and have successfully identified five extra tags and their mappings to the fields on the File|Properties...|Summary tab in Explorer (both "simple" and "advanced" views). XP ignores the standard UserComment field, alas, so I was forced to look into this.

(For those not using XP to manage their photos, Explorer allows you to view most EXIF data within the File|Properties... dialog, and even add some EXIF fields as columns in Detail view)

Since I don't have CVS access, or even a PHP development environment that would allow me to do the necessary changes myself, I am posting this here in hope that someone will add this to the upcoming 4.2.0 release.

I suggest the following entries for the TagTable:

static const struct {  
  unsigned short Tag;  
  char *Desc;  
} TagTable[] = {  
{ 0x00FE, "NewSubFile"},  
{ 0x00FF, "SubFile"},  

...

{ 0x9c9b, "Title" },     // Win XP specific, Unicode 
{ 0x9c9c, "Comments" },  // Win XP specific, Unicode 
{ 0x9c9d, "Author" },    // Win XP specific, Unicode 
{ 0x9c9e, "Keywords" },  // Win XP specific, Unicode 
{ 0x9c9f, "Subject" },   // Win XP specific, Unicode, not to be confused with SubjectDistance and SubjectLocation

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 14:26 UTC] sniper@php.net
There has been lot of changes in the EXIF extension lately.
But most of the new stuff didn't make it in time for the
4.2.0 release. Please try the latest CVS snapshot from
http://snaps.php.net/ and check the php-cvs/php-dev mailing
lists for more information what has been changed/added.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 13:00:01 2025 UTC