Skip to content

Commit

Permalink
ExtraSamples TAG moved to IFD0
Browse files Browse the repository at this point in the history
ExtraSamples TAG was under the folder ExifIFD, so it was never fetched
on tested TIFFs.
Now with this class in the IFD0 directory this TAG is parsed.
  • Loading branch information
gioid committed Jan 11, 2016
1 parent 855097f commit 9c732a9
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions lib/PHPExiftool/Driver/Tag/IFD0/ExtraSamples.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
s file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace PHPExiftool\Driver\Tag\IFD0;

use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;

/**
* @ExclusionPolicy("all")
*/
class ExtraSamples extends AbstractTag
{

protected $Id = 338;

protected $Name = 'ExtraSamples';

protected $FullName = 'Exif::Main';

protected $GroupName = 'IFD0';

protected $g0 = 'EXIF';

protected $g1 = 'IFD0';

protected $g2 = 'Image';

protected $Type = '?';

protected $Writable = false;

protected $Description = 'Extra Samples';

protected $local_g1 = 'ExifIFD';

protected $Values = array(
0 => array(
'Id' => 0,
'Label' => 'Unspecified',
),
1 => array(
'Id' => 1,
'Label' => 'Associated Alpha',
),
2 => array(
'Id' => 2,
'Label' => 'Unassociated Alpha',
),
);

}

0 comments on commit 9c732a9

Please sign in to comment.