Class for holding signed shorts.
This class can hold shorts, either just a single short or an array of shorts. The class will be used to manipulate any of the Exif tags which has format PelFormat::SHORT like in this example:
Here the width and height is updated to 50% of their original values.
Located in /src/PelEntryShort.php (line 66)
PelEntry | --PelEntryNumber | --PelEntryShort
Inherited from PelEntryNumber
PelEntryNumber::$dimension
PelEntryNumber::$max
PelEntryNumber::$min
PelEntryNumber::$value
Inherited from PelEntry
PelEntry::$bytes
PelEntry::$components
PelEntry::$format
PelEntry::$ifd_type
PelEntry::$tag
Make a new entry that can hold an unsigned short.
The method accept several integer arguments. The getValue method will always return an array except for when a single integer argument is given here.
This means that one can conveniently use objects like this:
Get the value of an entry as text.
The value will be returned in a format suitable for presentation, e.g., instead of returning '2' for a PelTag::METERING_MODE tag, 'Center-Weighted Average' is returned.
Convert a number into bytes.
Inherited From PelEntryNumber
PelEntryNumber::addNumber()
PelEntryNumber::formatNumber()
PelEntryNumber::getBytes()
PelEntryNumber::getText()
PelEntryNumber::getValue()
PelEntryNumber::numberToBytes()
PelEntryNumber::setValue()
PelEntryNumber::setValueArray()
PelEntryNumber::validateNumber()
Inherited From PelEntry
PelEntry::getBytes()
PelEntry::getComponents()
PelEntry::getFormat()
PelEntry::getIfdType()
PelEntry::getTag()
PelEntry::getText()
PelEntry::getValue()
PelEntry::setIfdType()
PelEntry::setValue()
PelEntry::__toString()
Documentation generated on Thu, 05 May 2011 07:19:08 +0200 by phpDocumentor 1.4.3