[wp-trac] [WordPress Trac] #14137: EXIF tag DateTimeDigitized not always present

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 29 00:57:05 UTC 2010


#14137: EXIF tag DateTimeDigitized not always present
-------------------------+--------------------------------------------------
 Reporter:  MMN-o        |       Owner:                                                                    
     Type:  enhancement  |      Status:  new                                                               
 Priority:  normal       |   Milestone:  Awaiting Review                                                   
Component:  Upload       |     Version:  3.0                                                               
 Severity:  minor        |    Keywords:  n900 DateTimeDigitized DateTime DateTimeOriginal EXIF camera image
-------------------------+--------------------------------------------------
Description changed by nacin:

Old description:

> Shooting images with my Nokia N900 will only fill in EXIF data for
> "DateTimeOriginal", not the tag "DateTimeDigitized" which Wordpress
> solely uses.
>
> Grabbing data from DateTime and/or DateTimeOriginal would increase the
> amounts of correct EXIF date data collected when uploading images.
>
> Attaching sample original image from my camera. CLI tool 'exif' when
> grep:ed with 'Date' outputs the following for the attached image:
> Date and Time       |2010:06:25 15:47:14
> Date and Time (origi|2010:06:25 15:47:14
>
> 'exif --list-tags *jpg|grep Date' results in the following (* meaning
> data exists):
>   0x0132 Date and Time                   *      -      -      -      -
>   0x9003 Date and Time (original)        -      -      *      -      -
>   0x9004 Date and Time (digitized)       -      -      -      -      -
>
> wp-admin/includes/image.php has the function which retrieves this
> metadata.

New description:

 Shooting images with my Nokia N900 will only fill in EXIF data for
 "DateTimeOriginal", not the tag "DateTimeDigitized" which Wordpress solely
 uses.

 Grabbing data from DateTime and/or DateTimeOriginal would increase the
 amounts of correct EXIF date data collected when uploading images.

 Attaching sample original image from my camera. CLI tool 'exif' when
 grep:ed with 'Date' outputs the following for the attached image:
 {{{
 Date and Time       |2010:06:25 15:47:14
 Date and Time (origi|2010:06:25 15:47:14
 }}}
 'exif --list-tags *jpg|grep Date' results in the following (* meaning data
 exists):
 {{{
   0x0132 Date and Time                   *      -      -      -      -
   0x9003 Date and Time (original)        -      -      *      -      -
   0x9004 Date and Time (digitized)       -      -      -      -      -
 }}}
 wp-admin/includes/image.php has the function which retrieves this
 metadata.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14137#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list