From: Dan F. <dfa...@us...> - 2010-03-18 22:44:08
|
Update of /cvsroot/libexif/libexif-testsuite/tests In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26159 Modified Files: check-fixup.sh check-tag-description.sh Log Message: Fixed the test to take into account the slightly changed text output Index: check-tag-description.sh =================================================================== RCS file: /cvsroot/libexif/libexif-testsuite/tests/check-tag-description.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -d -r1.5 -r1.6 --- check-tag-description.sh 17 Dec 2009 06:17:53 -0000 1.5 +++ check-tag-description.sh 18 Mar 2010 22:43:56 -0000 1.6 @@ -43,7 +43,7 @@ done env LANG=C LANGUAGE=C "$EXIFEXE" --tag=0x11a --ifd=0 -m -s >>"$tmpfile" "$DIFFEXE" "$tmpfile" - <<EOF -Tag 'GPS tag version' (0x0000, 'GPSVersionID'): Indicates the version of <GPSInfoIFD>. The version is given as 2.0.0.0. This tag is mandatory when <GPSInfo> tag is present. (Note: The <GPSVersionID> tag is given in bytes, unlike the <ExifVersion> tag. When the version is 2.0.0.0, the tag value is 02000000.H). +Tag 'GPS Tag Version' (0x0000, 'GPSVersionID'): Indicates the version of <GPSInfoIFD>. The version is given as 2.0.0.0. This tag is mandatory when <GPSInfo> tag is present. (Note: The <GPSVersionID> tag is given in bytes, unlike the <ExifVersion> tag. When the version is 2.0.0.0, the tag value is 02000000.H). Tag 'North or South Latitude' (0x0001, 'GPSLatitudeRef'): Indicates whether the latitude is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude. Tag 'Interoperability Index' (0x0001, 'InteroperabilityIndex'): Indicates the identification of the Interoperability rule. Use "R98" for stating ExifR98 Rules. Four bytes used including the termination code (NULL). see the separate volume of Recommended Exif Interoperability Rules (ExifR98) for other tags used for ExifR98. Tag 'Image Width' (0x0100, 'ImageWidth'): The number of columns of image data, equal to the number of pixels per row. In JPEG compressed data a JPEG marker is used instead of this tag. @@ -51,7 +51,7 @@ Tag 'New Subfile Type' (0x00fe, 'NewSubf Tag 'JPEG Interchange Format' (0x0201, 'JPEGInterchangeFormat'): The offset to the start byte (SOI) of JPEG compressed thumbnail data. This is not used for primary image JPEG data. Tag 'Image Unique ID' (0xa420, 'ImageUniqueID'): This tag indicates an identifier assigned uniquely to each image. It is recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length. Tag 'Padding' (0xea1c, 'Padding'): This tag reserves space that can be reclaimed later when additional metadata are added. New metadata can be written in place by replacing this tag with a smaller data element and using the reclaimed space to store the new or expanded metadata tags. -0x011a XResolution x-Resolution The number of pixels per <ResolutionUnit> in the <ImageWidth> direction. When the image resolution is unknown, 72 [dpi] is designated. +0x011a XResolution X-Resolution The number of pixels per <ResolutionUnit> in the <ImageWidth> direction. When the image resolution is unknown, 72 [dpi] is designated. EOF s="$?" Index: check-fixup.sh =================================================================== RCS file: /cvsroot/libexif/libexif-testsuite/tests/check-fixup.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -d -r1.1 -r1.2 --- check-fixup.sh 17 Dec 2009 08:15:31 -0000 1.1 +++ check-fixup.sh 18 Mar 2010 22:43:56 -0000 1.2 @@ -20,13 +20,13 @@ echo Fix up data # Check the resulting EXIF file env LANG=C LANGUAGE=C "$EXIFEXE" -m -i "$dstimg" >"$tmpfile" "$DIFFEXE" "$tmpfile" - <<EOF -0x0112 left - bottom +0x0112 Left-bottom 0x011a 72.00 0x011b 72.00 -0x011c planar format +0x011c Planar format 0x0128 Inch 0x0132 2009:12:16 23:30:32 -0x0213 centered +0x0213 Centered 0x829a 1/2 sec. 0x9000 Exif Version 2.1 0x9101 Y Cb Cr - |