Validated bugfixes-test script results.
This commit is contained in:
parent
76948ce108
commit
088319f266
@ -229,6 +229,7 @@ namespace Exiv2 {
|
||||
|
||||
void TiffEntryBase::updateValue(Value::AutoPtr value, ByteOrder byteOrder)
|
||||
{
|
||||
if (value.get() == 0) return;
|
||||
uint32_t newSize = value->size();
|
||||
if (newSize > size_) {
|
||||
allocData(newSize);
|
||||
@ -241,6 +242,7 @@ namespace Exiv2 {
|
||||
|
||||
void TiffEntryBase::setValue(Value::AutoPtr value)
|
||||
{
|
||||
if (value.get() == 0) return;
|
||||
tiffType_ = toTiffType(value->typeId());
|
||||
count_ = value->count();
|
||||
delete pValue_;
|
||||
|
||||
@ -51,7 +51,7 @@ EXIV2_RCSID("@(#) $Id$")
|
||||
// class member definitions
|
||||
namespace Exiv2 {
|
||||
|
||||
//! Lookup list of supported IFD type information
|
||||
//! Lookup list with information of Exiv2 types
|
||||
const TypeInfoTable TypeInfo::typeInfoTable_[] = {
|
||||
{ invalidTypeId, "Invalid", 0 },
|
||||
{ unsignedByte, "Byte", 1 },
|
||||
@ -75,9 +75,7 @@ namespace Exiv2 {
|
||||
{ xmpAlt, "XmpAlt", 1 },
|
||||
{ xmpBag, "XmpBag", 1 },
|
||||
{ xmpSeq, "XmpSeq", 1 },
|
||||
{ langAlt, "LangAlt", 1 },
|
||||
// End of list marker
|
||||
{ lastTypeId, "(Unknown)", 0 }
|
||||
{ langAlt, "LangAlt", 1 }
|
||||
};
|
||||
|
||||
bool TypeInfoTable::operator==(TypeId typeId) const
|
||||
|
||||
@ -67,7 +67,7 @@ Exif.Thumbnail.Orientation Short 1 top, left
|
||||
Exif.Thumbnail.XResolution Rational 1 72
|
||||
Exif.Thumbnail.YResolution Rational 1 72
|
||||
Exif.Thumbnail.ResolutionUnit Short 1 inch
|
||||
Exif.Thumbnail.JPEGInterchangeFormat Long 1 0
|
||||
Exif.Thumbnail.JPEGInterchangeFormat Long 1 1628
|
||||
Exif.Thumbnail.JPEGInterchangeFormatLength Long 1 33779
|
||||
------> Bug 444 <-------
|
||||
Iptc.Envelope.CharacterSet Undefined 4 0 196 28 2
|
||||
@ -102,32 +102,7 @@ Exif.Photo.MaxApertureValue Rational 1 F2.8
|
||||
Exif.Photo.MeteringMode Short 1 Center weighted average
|
||||
Exif.Photo.Flash Short 1 No, auto
|
||||
Exif.Photo.FocalLength Rational 1 21.3 mm
|
||||
Exif.Photo.UserComment Undefined 264 A comment
|
||||
Exif.Photo.FlashpixVersion Undefined 4 1.00
|
||||
Exif.Photo.ColorSpace Short 1 sRGB
|
||||
Exif.Photo.PixelXDimension Short 1 2272
|
||||
Exif.Photo.PixelYDimension Short 1 1704
|
||||
Exif.Photo.InteroperabilityTag Long 1 1416
|
||||
Exif.Photo.FocalPlaneXResolution Rational 1 8114.29
|
||||
Exif.Photo.FocalPlaneYResolution Rational 1 8114.29
|
||||
Exif.Photo.FocalPlaneResolutionUnit Short 1 inch
|
||||
Exif.Photo.SensingMethod Short 1 One-chip color area
|
||||
Exif.Photo.FileSource Undefined 1 Digital still camera
|
||||
Exif.Photo.CustomRendered Short 1 Normal process
|
||||
Exif.Photo.ExposureMode Short 1 Auto
|
||||
Exif.Photo.WhiteBalance Short 1 Auto
|
||||
Exif.Photo.DigitalZoomRatio Rational 1 1.0
|
||||
Exif.Photo.SceneCaptureType Short 1 Standard
|
||||
Exif.Canon.0x0002 Short 4 2 682 286 215
|
||||
Exif.Canon.0x0003 Short 4 0 0 0 0
|
||||
Exif.Canon.0x0000 Short 6 0 0 0 0 0 0
|
||||
Exif.Canon.0x0000 Short 4 0 0 0 0
|
||||
Exif.Canon.ImageType Ascii 32 IMG:PowerShot S40 JPEG
|
||||
Exif.Canon.FirmwareVersion Ascii 24 Firmware Version 1.10
|
||||
Exif.Canon.ImageNumber Long 1 117-1771
|
||||
Exif.Canon.OwnerName Ascii 32 Andreas Huggel
|
||||
Exif.Canon.ModelID Long 1 PowerShot S40
|
||||
Exif.Canon.0x000d Short 21 42 3 32769 378 32769 0 0 0 259 2 0 10 0 0 0 57 198 5 0 0 0
|
||||
Exif.CanonCs.0x0000 Short 1 80
|
||||
Exif.CanonCs.Macro Short 1 Off
|
||||
Exif.CanonCs.Selftimer Short 1 Off
|
||||
Exif.CanonCs.Quality Short 1 Superfine
|
||||
@ -165,6 +140,9 @@ Exif.CanonCs.ZoomSourceWidth Short 1 2272
|
||||
Exif.CanonCs.ZoomTargetWidth Short 1 2272
|
||||
Exif.CanonCs.0x0026 Short 1 0
|
||||
Exif.CanonCs.0x0027 Short 1 1
|
||||
Exif.Canon.0x0002 Short 4 2 682 286 215
|
||||
Exif.Canon.0x0003 Short 4 0 0 0 0
|
||||
Exif.CanonSi.0x0000 Short 1 54
|
||||
Exif.CanonSi.0x0001 Short 1 0
|
||||
Exif.CanonSi.ISOSpeed Short 1 100
|
||||
Exif.CanonSi.0x0003 Short 1 276
|
||||
@ -191,22 +169,46 @@ Exif.CanonSi.0x0017 Short 1 0
|
||||
Exif.CanonSi.0x0018 Short 1 0
|
||||
Exif.CanonSi.0x0019 Short 1 0
|
||||
Exif.CanonSi.0x001a Short 1 250
|
||||
Exif.Canon.0x0000 Short 6 0 0 0 0 0 0
|
||||
Exif.Canon.0x0000 Short 4 0 0 0 0
|
||||
Exif.Canon.ImageType Ascii 32 IMG:PowerShot S40 JPEG
|
||||
Exif.Canon.FirmwareVersion Ascii 24 Firmware Version 1.10
|
||||
Exif.Canon.ImageNumber Long 1 117-1771
|
||||
Exif.Canon.OwnerName Ascii 32 Andreas Huggel
|
||||
Exif.Canon.ModelID Long 1 PowerShot S40
|
||||
Exif.Canon.0x000d Short 21 42 3 32769 378 32769 0 0 0 259 2 0 10 0 0 0 57 198 5 0 0 0
|
||||
Exif.Photo.UserComment Undefined 17 A comment
|
||||
Exif.Photo.FlashpixVersion Undefined 4 1.00
|
||||
Exif.Photo.ColorSpace Short 1 sRGB
|
||||
Exif.Photo.PixelXDimension Short 1 2272
|
||||
Exif.Photo.PixelYDimension Short 1 1704
|
||||
Exif.Photo.InteroperabilityTag Long 1 1416
|
||||
Exif.Iop.InteroperabilityIndex Ascii 4 R98
|
||||
Exif.Iop.InteroperabilityVersion Undefined 4 1.00
|
||||
Exif.Iop.RelatedImageWidth Short 1 2272
|
||||
Exif.Iop.RelatedImageLength Short 1 1704
|
||||
Exif.Photo.FocalPlaneXResolution Rational 1 8114.29
|
||||
Exif.Photo.FocalPlaneYResolution Rational 1 8114.29
|
||||
Exif.Photo.FocalPlaneResolutionUnit Short 1 inch
|
||||
Exif.Photo.SensingMethod Short 1 One-chip color area
|
||||
Exif.Photo.FileSource Undefined 1 Digital still camera
|
||||
Exif.Photo.CustomRendered Short 1 Normal process
|
||||
Exif.Photo.ExposureMode Short 1 Auto
|
||||
Exif.Photo.WhiteBalance Short 1 Auto
|
||||
Exif.Photo.DigitalZoomRatio Rational 1 1.0
|
||||
Exif.Photo.SceneCaptureType Short 1 Standard
|
||||
Exif.Thumbnail.Compression Short 1 JPEG (old-style)
|
||||
Exif.Thumbnail.XResolution Rational 1 180
|
||||
Exif.Thumbnail.YResolution Rational 1 180
|
||||
Exif.Thumbnail.ResolutionUnit Short 1 inch
|
||||
Exif.Thumbnail.JPEGInterchangeFormat Long 1 0
|
||||
Exif.Thumbnail.JPEGInterchangeFormat Long 1 2036
|
||||
Exif.Thumbnail.JPEGInterchangeFormatLength Long 1 5448
|
||||
File 1/1: exiv2-empty.jpg
|
||||
Set Exif.Photo.UserComment "A comment" (Comment)
|
||||
Exif.Image.ExifTag Long 1 26
|
||||
Exif.Photo.UserComment Undefined 17 A comment
|
||||
------> Bug 447 <-------
|
||||
Warning: Exif tag 0x9286 has invalid Exif type 14; using 7 (undefined).
|
||||
Warning: Directory Photo, entry 0x9286 has unknown Exif (TIFF) type 14; setting type size 1.
|
||||
Iptc.Application2.Caption String 0
|
||||
Iptc.Application2.DateCreated Date 8 2005-08-09
|
||||
Iptc.Application2.TimeCreated Time 11 01:28:31-07:00
|
||||
@ -225,7 +227,7 @@ Exif.Image.XPAuthor Byte 44 Українська
|
||||
Exif.Image.XPKeywords Byte 30 עברית (Hebrew) | ||||