Ignore:
Timestamp:
Feb 21, 2010, 8:41:06 PM (14 years ago)
Author:
grum
Message:

Implement Nikon camera's maker note ; add some Xmp tag ; fix some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/JpegMetaData/TagDefinitions/XmpTags.class.php

    r4904 r4931  
    190190      ),
    191191
     192      // not present in specification, but found in some files
     193      'dc:CreatorTool' => Array(
     194        'implemented'  => true,
     195        'translatable' => false,
     196        'type'         => self::TYPE_SIMPLE,
     197        'schema'       => "dc",
     198      ),
     199
     200
     201
    192202      /*
    193203       * XMP Basic schema
     
    614624        ),
    615625      ),
     626      // not present in specification but found in some files
     627      'photoshop:ICCProfile' => Array(
     628        'implemented'  => true,
     629        'translatable' => false,
     630        'type'         => self::TYPE_SIMPLE,
     631        'schema'       => "photoshop",
     632      ),
     633      'photoshop:ColorMode' => Array(
     634        'implemented'  => false,
     635        'translatable' => false,
     636        'type'         => self::TYPE_SIMPLE,
     637        'schema'       => "photoshop",
     638      ),
    616639
    617640
     
    892915        ),
    893916      ),
     917      // not present in specifications, but found in some files
     918      'crs:WhiteBalance' => Array(
     919        'implemented'  => true,
     920        'translatable' => true,
     921        'type'         => self::TYPE_SIMPLE,
     922        'schema'       => "crs",
     923        'tagValues'    => Array(
     924           'As Shot'     => "As Shot",
     925           'Auto'        => "Auto",
     926           'Daylight'    => "Daylight",
     927           'Cloudy'      => "Cloudy",
     928           'Shade'       => "Shade",
     929           'Tungsten'    => "Tungsten",
     930           'Fluorescent' => "Fluorescent",
     931           'Flash'       => "Flash",
     932           'Custom'      => "Custom",
     933        ),
     934      ),
    894935
    895936
     
    13861427      ),
    13871428      'exif:Balance' => Array(
     1429        'exifTag'      => 0xA403,
     1430        'implemented'  => true,
     1431        'translatable' => false,
     1432        'type'         => self::TYPE_SIMPLE,
     1433        'schema'       => "exif",
     1434      ),
     1435      'exif:WhiteBalance' => Array(
    13881436        'exifTag'      => 0xA403,
    13891437        'implemented'  => true,
     
    18411889              $tmpTag=$tags->getTagById($val[$schema]);
    18421890            }
    1843             elseif($val[$schema]!=0xFFFF and $tags->tagIdExists($val[$schema]))
    1844             {
    1845               $tmpTag=$tags->getTagById($val[$schema]);
    1846             }
    18471891            else
    18481892            {
Note: See TracChangeset for help on using the changeset viewer.