Changeset 4824 for extensions
- Timestamp:
- Feb 1, 2010, 11:09:15 PM (15 years ago)
- Location:
- extensions/AMetaData/JpegMetaData
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/JpegMetaData/Readers/HeightBIMReader.class.php
r4698 r4824 78 78 private $isValid = false; 79 79 80 private $entries = null;80 private $entries = array(); 81 81 82 82 private $data = null; -
extensions/AMetaData/JpegMetaData/Readers/IfdEntryReader.class.php
r4686 r4824 118 118 $this->isOffset = true; 119 119 $this->extraDataOffset = ConvertData::toULong(substr($data, 8), $this->byteOrder); 120 $this->tag->setValue($this->extractExtraData(new Data($segmentData->readASCII($this->size*ByteType::$typeSizes[$this->type], $this->extraDataOffset - $segmentDataOffset) ), $this->byteOrder));120 $this->tag->setValue($this->extractExtraData(new Data($segmentData->readASCII($this->size*ByteType::$typeSizes[$this->type], $this->extraDataOffset - $segmentDataOffset), $this->byteOrder), $this->byteOrder)); 121 121 } 122 122 else 123 123 { 124 $this->tag->setValue($this-> value = $this->extractExtraData(new Data(substr($data,8), $this->byteOrder)));124 $this->tag->setValue($this->extractExtraData(new Data(substr($data,8), $this->byteOrder))); 125 125 } 126 126 -
extensions/AMetaData/JpegMetaData/Readers/IfdReader.class.php
r4705 r4824 232 232 * if the combiTag value equals 0 exploit it as this 233 233 */ 234 if($tag['combiTag']==0 )234 if($tag['combiTag']==0 and !is_array($entry->getValue())) 235 235 { 236 236 if(array_key_exists($entry->getValue(), $tag['tagValues'])) … … 248 248 * the combiTag value does not equals 0, so exploit it as a combi tag 249 249 */ 250 $combiValue=$this->processCombiTag($entry->getValue(), $tag['combiTag']);250 $combiValue=$this->processCombiTag($entry->getValue(), ($tag['combiTag']==0)?1:$tag['combiTag'] ); 251 251 if(array_key_exists($combiValue, $tag['tagValues'])) 252 252 { -
extensions/AMetaData/JpegMetaData/TagDefinitions/PentaxTags.class.php
r4698 r4824 217 217 27 => "3648x2736", 218 218 29 => "4000x3000", 219 0x00 220 219 37 => "3008x2000" 221 220 ) 222 221 ), // < Size
Note: See TracChangeset
for help on using the changeset viewer.