Hello Phil!
I have Problem.
ExifTool incorrectly show Orientation value for some Sony RAW (ARW) images (using -s). Orientation value in test images I checked with Aperture and Preview applications.
My exiftool log:
exiftool -s -g /Volumes/Test/1.ARW
---- ExifTool ----
ExifToolVersion : 8.45
---- File ----
....
ImageDescription : SONY DSC
Software : DSLR-A700 v03
BitsPerSample : 8
Compression : Sony ARW Compressed
PhotometricInterpretation : Color Filter Array
Orientation : Horizontal (normal)
SamplesPerPixel : 1
PlanarConfiguration : Chunky
XResolution : 0.01388888889
.....
exiftool -s -g /Volumes/Test/1.ARW
ExifToolVersion = 8.45
....
FileType = ARW
MIMEType = image/x-sony-arw
ExifByteOrder = II
+ [IFD0 directory with 16 entries]
| 0) SubfileType = 1
| 1) Compression = 6
| 2) ImageDescription = SONY DSC
| 3) Make = SONY
| 4) Model = DSLR-A700
| 5) Orientation = 8
| 6) XResolution = 72 (72/1)
| 7) YResolution = 72 (72/1)
| 8) ResolutionUnit = 2
| 9) Software = DSLR-A700 v03
| 10) ModifyDate = 2008:03:15 08:04:26
| 11) SubIFD (SubDirectory) -->
| + [SubIFD directory with 21 entries]
| | 0) SubfileType = 0
| | 1) ImageWidth = 4288
| | 2) ImageHeight = 2856
| | 3) BitsPerSample = 8
| | 4) Compression = 32767
| | 5) PhotometricInterpretation = 32803
| | 6) Orientation = 1
| | 7) SamplesPerPixel = 1
| | 8) PlanarConfiguration = 1
...
+ [IFD1 directory with 11 entries]
| 0) SubfileType = 1
| 1) Compression = 6
| 2) Make = SONY
| 3) Model = DSLR-A700
| 4) Orientation = 8
| 5) XResolution = 72 (72/1)
| 6) YResolution = 72 (72/1)
| 7) ResolutionUnit = 2
| 8) ModifyDate = 2008:03:15 08:04:26
| 9) ThumbnailOffset = 32770
| 10) ThumbnailLength = 3758
I sent to you mail my test images.
Thank you,
Sergey.
Hi Sergey,
Thanks for the report, but I don't think this is a problem.
ExifTool reports the orientation of the full-resolution image. If you want another orientation you need to be more specific when you extract the information. ie) -ifd0:orientation
- Phil
> exiftool ~/Desktop/?.ARW -orientation -subfiletype -a -G1
======== /Users/phil/Desktop/1.ARW
[IFD0] Orientation : Rotate 270 CW
[SubIFD] Orientation : Horizontal (normal)
[IFD1] Orientation : Rotate 270 CW
[IFD0] Subfile Type : Reduced-resolution image
[SubIFD] Subfile Type : Full-resolution Image
[IFD1] Subfile Type : Reduced-resolution image
======== /Users/phil/Desktop/2.ARW
[IFD0] Orientation : Rotate 270 CW
[SubIFD] Orientation : Horizontal (normal)
[IFD1] Orientation : Rotate 270 CW
[IFD0] Subfile Type : Reduced-resolution image
[SubIFD] Subfile Type : Full-resolution Image
[IFD1] Subfile Type : Reduced-resolution image