| Summary: | digikamimageeditor used exif orientatin in opposite direction than thumbnail view of albums | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Achim Bohnet <ach> |
| Component: | ImageEditor-Canvas | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, jens-bugs.kde.org |
| Priority: | NOR | ||
| Version First Reported In: | 0.7.0 | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 7.6.0 | |
| Sentry Crash Report: | |||
|
Description
Achim Bohnet
2004-08-26 11:31:25 UTC
Can you try to set the orientation tag to "rotated 90 deg., vert. flipped"? I have images that were stored with this orientation, which looks like its simply 90 degrees rotated, but it is also flipped. There might be a bug in the thumbnail rotation, so that it shows up correctly there. I'll look into it. There were two different bugs that messed things up. I skipped the "vertical flip" option when I moved the EXIF stuff to the image menu. And the transformation order when doing a rotate and flip was wrong in the image viewer. It's both fixed in cvs. Thx! Hello,
I think we need to reopen this bug because this behaviour is still in 0.7.1 (compiled from source, by SuSE, for KDE 3.3.2). I make pictures with a Canon Digital IXUS 330 and:
- if I don't enable the "rotate according to EXIF" checkbox in the settings,
- the thumbnails are(!) rotated correctly
- showfoto does not rotate at all
- fullscreen slideshow does not rotate at all
- if I enable the setting,
- thumbnails are NOT rotated
- showfoto rotates correctly
- but the fullscreen slideshow still does not rotate.
This makes Digikam unuseable as a slideshow application, which really annoys the heck out of me because I want these ultra-cool OpenGL effects, dammit! ;)
Also, fullscreen is still not Xinerama aware, but that's another bug I'll have to re-open. Here's the EXIF info out of one of my portrait mode photos:
jens@nimmmich:~/Digicam/2004.07.16ff - GRIECHENLAND> exif.py 2114_IMG.JPG
2114_IMG.JPG:
Intel format
IFD 0 (Image) at offset 8:
Make: (0x010F) ASCII=Canon @ 122
Model: (0x0110) ASCII=Canon DIGITAL IXUS 330 @ 128
Orientation: (0x0112) Short=6 @ 42
XResolution: (0x011A) Ratio=180 @ 160
YResolution: (0x011B) Ratio=180 @ 168
ResolutionUnit: (0x0128) Short=Pixels/Inch @ 78
DateTime: (0x0132) ASCII=2004:07:16 11:13:49 @ 176
YCbCrPositioning: (0x0213) Short=1 @ 102
ExifOffset: (0x8769) Long=196 @ 114
EXIF SubIFD at offset 196:
ExposureTime: (0x829A) Ratio=1/250 @ 902
FNumber: (0x829D) Ratio=80/10 @ 910
ExifVersion: (0x9000) Undefined=[48, 50, 50, 48] @ 230
DateTimeOriginal: (0x9003) ASCII=2004:07:16 11:13:49 @ 574
DateTimeDigitized: (0x9004) ASCII=2004:07:16 11:13:49 @ 594
ComponentsConfiguration: (0x9101) Undefined=YCbCr @ 266
CompressedBitsPerPixel: (0x9102) Ratio=3 @ 878
ShutterSpeedValue: (0x9201) Signed Ratio=255/32 @ 886
ApertureValue: (0x9202) Ratio=393216/65536 @ 894
ExposureBiasValue: (0x9204) Signed Ratio=0/3 @ 918
MaxApertureValue: (0x9205) Ratio=187820/65536 @ 926
MeteringMode: (0x9207) Short=5 @ 338
Flash: (0x9209) Short=Auto Off @ 350
FocalLength: (0x920A) Ratio=173/32 @ 934
MakerNote: (0x927C) Undefined=[] @ 942
UserComment: (0x9286) Undefined=[] @ 614
FlashPixVersion: (0xA000) Undefined=[48, 49, 48, 48] @ 398
ColorSpace: (0xA001) Short=1 @ 410
ExifImageWidth: (0xA002) Short=1600 @ 422
ExifImageLength: (0xA003) Short=1200 @ 434
InteroperabilityOffset: (0xA005) Long=1412 @ 446
FocalPlaneXResolution: (0xA20E) Ratio=1600000/206 @ 1388
FocalPlaneYResolution: (0xA20F) Ratio=1200000/155 @ 1396
FocalPlaneResolutionUnit: (0xA210) Short=2 @ 482
SensingMethod: (0xA217) Short=2 @ 494
FileSource: (0xA300) Undefined=Digital Camera @ 506
Tag 0xA401: (0xA401) Short=0 @ 518
Tag 0xA402: (0xA402) Short=0 @ 530
Tag 0xA403: (0xA403) Short=0 @ 542
Tag 0xA404: (0xA404) Ratio=1600/1600 @ 1404
Tag 0xA406: (0xA406) Short=0 @ 566
EXIF Interoperability SubSubIFD at offset 1412:
InteroperabilityIndex: (0x0001) ASCII=R98 @ 1422
InteroperabilityVersion: (0x0002) Undefined=[48, 49, 48, 48] @ 1434
RelatedImageWidth: (0x1001) Short=1600 @ 1446
RelatedImageLength: (0x1002) Short=1200 @ 1458
EXIF MakerNote SubSubIFD at offset 1412:
Tag 0x0001: (0x0001) Short=[86, 2, 0, 3, 5, 0, 0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 15, 3, 1, 12289, 0, 65535, 65535, 518, 173, 32, 93, 191, 65535, 0, 0, 0, 0, 0,65535, 80, 1600, 1600, 0, 0, 0, 0, 32767] @ 1092
Tag 0x0002: (0x0002) Short=[2, 173, 211, 158] @ 1178
Tag 0x0003: (0x0003) Short=[0, 0, 0, 0] @ 1186
Tag 0x0004: (0x0004) Short=[56, 0, 128, 316, 192, 255, 0, 0, 0, 1, 0, 0, 0,0, 12294, 0, 0, 0, 0, 20156, 0, 191, 253, 0, 0, 0, 250, 1] @ 1194
Tag 0x0000: (0x0000) Short=[0, 0, 0, 0, 0, 0] @ 1250
Tag 0x0000: (0x0000) Short=[0, 0, 0, 0] @ 1262
ImageType: (0x0006) ASCII=IMG:DIGITAL IXUS 330 JPEG @ 1270
FirmwareVersion: (0x0007) ASCII=Firmware Version 1.00 @ 1302
ImageNumber: (0x0008) Long=1212114 @ 1048
OwnerName: (0x0009) ASCII=jens @ 1326
Tag 0x0010: (0x0010) Long=18350080 @ 1072
Tag 0x000D: (0x000D) Short=[30, 3, 292, 293, 32768, 0, 0, 0, 0, 924, 0, 48,0, 0, 0] @ 1358
SubMakerNote BitSet for MakerNote Tag 0x0001
Macromode: Normal
SelfTimer: 0
Quality: Fine
FlashMode: Auto + Red-Eye Reduction
ContinuousDriveMode: Single Or Timer
Unknown: 0
FocusMode: Single
Unknown: 0
Unknown: 1
ImageSize: Large
EasyShootingMode: Full Auto
DigitalZoom: None
Contrast: Normal
Saturation: Normal
Sharpness: Normal
ISO: Auto
MeteringMode: Evaluative
FocusType: Auto
AFPointSelected: Auto-Selected
ExposureMode: Easy Shooting
Unknown: 65535
Unknown: 65535
LongFocalLengthOfLensInFocalUnits: 518
ShortFocalLengthOfLensInFocalUnits: 173
FocalUnitsPerMM: 32
Unknown: 93
Unknown: 191
FlashActivity: Unknown
FlashDetails: Unknown
Unknown: 0
Unknown: 0
FocusMode: Single
Unknown: 0
Unknown: 65535
Unknown: 80
Unknown: 1600
Unknown: 1600
Unknown: 0
Unknown: 0
Unknown: 0
Unknown: 0
Unknown: 32767
SubMakerNote BitSet for MakerNote Tag 0x0004
Unknown: 0
Unknown: 128
Unknown: 316
Unknown: 192
Unknown: 255
Unknown: 0
WhiteBalance: Auto
Unknown: 0
SequenceNumber: 1
Unknown: 0
Unknown: 0
Unknown: 0
Unknown: 0
AFPointUsed: 12294
FlashBias: 0 EV
Unknown: 0
Unknown: 0
Unknown: 0
SubjectDistance: 20156
Unknown: 0
Unknown: 191
Unknown: 253
Unknown: 0
Unknown: 0
Unknown: 0
Unknown: 250
Unknown: 1
IFD 1 (Thumbnail) at offset 1466:
Compression: (0x0103) Short=JPEG Compressed @ 1476
XResolution: (0x011A) Ratio=180 @ 1544
YResolution: (0x011B) Ratio=180 @ 1552
ResolutionUnit: (0x0128) Short=Pixels/Inch @ 1512
JPEGInterchangeFormat: (0x0201) Long=2036 @ 1524
JPEGInterchangeFormatLength: (0x0202) Long=4477 @ 1536
Here's one of my landscape mode photos:
jens@nimmmich:~/Digicam/2004.07.16ff - GRIECHENLAND> exif.py 2113_IMG.JPG
2113_IMG.JPG:
Intel format
IFD 0 (Image) at offset 8:
Make: (0x010F) ASCII=Canon @ 122
Model: (0x0110) ASCII=Canon DIGITAL IXUS 330 @ 128
Orientation: (0x0112) Short=1 @ 42
XResolution: (0x011A) Ratio=180 @ 160
YResolution: (0x011B) Ratio=180 @ 168
ResolutionUnit: (0x0128) Short=Pixels/Inch @ 78
DateTime: (0x0132) ASCII=2004:07:16 11:13:30 @ 176
YCbCrPositioning: (0x0213) Short=1 @ 102
ExifOffset: (0x8769) Long=196 @ 114
EXIF SubIFD at offset 196:
ExposureTime: (0x829A) Ratio=1/320 @ 902
FNumber: (0x829D) Ratio=80/10 @ 910
ExifVersion: (0x9000) Undefined=[48, 50, 50, 48] @ 230
DateTimeOriginal: (0x9003) ASCII=2004:07:16 11:13:30 @ 574
DateTimeDigitized: (0x9004) ASCII=2004:07:16 11:13:30 @ 594
ComponentsConfiguration: (0x9101) Undefined=YCbCr @ 266
CompressedBitsPerPixel: (0x9102) Ratio=3 @ 878
ShutterSpeedValue: (0x9201) Signed Ratio=266/32 @ 886
ApertureValue: (0x9202) Ratio=393216/65536 @ 894
ExposureBiasValue: (0x9204) Signed Ratio=0/3 @ 918
MaxApertureValue: (0x9205) Ratio=187820/65536 @ 926
MeteringMode: (0x9207) Short=5 @ 338
Flash: (0x9209) Short=Auto Off @ 350
FocalLength: (0x920A) Ratio=173/32 @ 934
MakerNote: (0x927C) Undefined=[] @ 942
UserComment: (0x9286) Undefined=[] @ 614
FlashPixVersion: (0xA000) Undefined=[48, 49, 48, 48] @ 398
ColorSpace: (0xA001) Short=1 @ 410
ExifImageWidth: (0xA002) Short=1600 @ 422
ExifImageLength: (0xA003) Short=1200 @ 434
InteroperabilityOffset: (0xA005) Long=1412 @ 446
FocalPlaneXResolution: (0xA20E) Ratio=1600000/206 @ 1388
FocalPlaneYResolution: (0xA20F) Ratio=1200000/155 @ 1396
FocalPlaneResolutionUnit: (0xA210) Short=2 @ 482
SensingMethod: (0xA217) Short=2 @ 494
FileSource: (0xA300) Undefined=Digital Camera @ 506
Tag 0xA401: (0xA401) Short=0 @ 518
Tag 0xA402: (0xA402) Short=0 @ 530
Tag 0xA403: (0xA403) Short=0 @ 542
Tag 0xA404: (0xA404) Ratio=1600/1600 @ 1404
Tag 0xA406: (0xA406) Short=0 @ 566
EXIF Interoperability SubSubIFD at offset 1412:
InteroperabilityIndex: (0x0001) ASCII=R98 @ 1422
InteroperabilityVersion: (0x0002) Undefined=[48, 49, 48, 48] @ 1434
RelatedImageWidth: (0x1001) Short=1600 @ 1446
RelatedImageLength: (0x1002) Short=1200 @ 1458
EXIF MakerNote SubSubIFD at offset 1412:
Tag 0x0001: (0x0001) Short=[86, 2, 0, 3, 5, 0, 0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 15, 3, 1, 12289, 0, 65535, 65535, 518, 173, 32, 93, 191, 65535, 0, 0, 0, 0, 0,65535, 80, 1600, 1600, 0, 0, 0, 0, 32767] @ 1092
Tag 0x0002: (0x0002) Short=[2, 173, 211, 158] @ 1178
Tag 0x0003: (0x0003) Short=[0, 0, 0, 0] @ 1186
Tag 0x0004: (0x0004) Short=[56, 0, 128, 326, 192, 266, 0, 0, 0, 1, 0, 0, 0,0, 12295, 0, 0, 0, 0, 4679, 0, 191, 263, 0, 0, 0, 250, 0] @ 1194
Tag 0x0000: (0x0000) Short=[0, 0, 0, 0, 0, 0] @ 1250
Tag 0x0000: (0x0000) Short=[0, 0, 0, 0] @ 1262
ImageType: (0x0006) ASCII=IMG:DIGITAL IXUS 330 JPEG @ 1270
FirmwareVersion: (0x0007) ASCII=Firmware Version 1.00 @ 1302
ImageNumber: (0x0008) Long=1212113 @ 1048
OwnerName: (0x0009) ASCII=jens @ 1326
Tag 0x0010: (0x0010) Long=18350080 @ 1072
Tag 0x000D: (0x000D) Short=[30, 3, 294, 292, 291, 0, 0, 0, 0, 858, 0, 61, 0, 0, 0] @ 1358
SubMakerNote BitSet for MakerNote Tag 0x0001
Macromode: Normal
SelfTimer: 0
Quality: Fine
FlashMode: Auto + Red-Eye Reduction
ContinuousDriveMode: Single Or Timer
Unknown: 0
FocusMode: Single
Unknown: 0
Unknown: 1
ImageSize: Large
EasyShootingMode: Full Auto
DigitalZoom: None
Contrast: Normal
Saturation: Normal
Sharpness: Normal
ISO: Auto
MeteringMode: Evaluative
FocusType: Auto
AFPointSelected: Auto-Selected
ExposureMode: Easy Shooting
Unknown: 65535
Unknown: 65535
LongFocalLengthOfLensInFocalUnits: 518
ShortFocalLengthOfLensInFocalUnits: 173
FocalUnitsPerMM: 32
Unknown: 93
Unknown: 191
FlashActivity: Unknown
FlashDetails: Unknown
Unknown: 0
Unknown: 0
FocusMode: Single
Unknown: 0
Unknown: 65535
Unknown: 80
Unknown: 1600
Unknown: 1600
Unknown: 0
Unknown: 0
Unknown: 0
Unknown: 0
Unknown: 32767
SubMakerNote BitSet for MakerNote Tag 0x0004
Unknown: 0
Unknown: 128
Unknown: 326
Unknown: 192
Unknown: 266
Unknown: 0
WhiteBalance: Auto
Unknown: 0
SequenceNumber: 1
Unknown: 0
Unknown: 0
Unknown: 0
Unknown: 0
AFPointUsed: 12295
FlashBias: 0 EV
Unknown: 0
Unknown: 0
Unknown: 0
SubjectDistance: 4679
Unknown: 0
Unknown: 191
Unknown: 263
Unknown: 0
Unknown: 0
Unknown: 0
Unknown: 250
Unknown: 0
IFD 1 (Thumbnail) at offset 1466:
Compression: (0x0103) Short=JPEG Compressed @ 1476
XResolution: (0x011A) Ratio=180 @ 1544
YResolution: (0x011B) Ratio=180 @ 1552
ResolutionUnit: (0x0128) Short=Pixels/Inch @ 1512
JPEGInterchangeFormat: (0x0201) Long=2036 @ 1524
JPEGInterchangeFormatLength: (0x0202) Long=4765 @ 1536
Thank you for looking into this,
Jens Benecke
can you email me (renchi@pooh.tam.uiuc.edu) these pictures. showfoto and slideshow are not exif aware yet. can you file a bugreport for the slideshow one (product: kipiplugins, component: slideshow) [Resolution: Bug apparently only occurs if "use thumbnail embedded in images" in Konqueror is selected, because Konqueror and Digikam differ in how they save/respect the rotation info in thumbnails.] Am Freitag, 14. Januar 2005 00:59 schrieben Sie: > embedded thumbnail. This embedded thumbnail might be incorrectly rotated > wrt to the actual image, say for eg, an application rotates the images > (but doesn't rotate the embedded thumbnail). This is what is happening I never touched my photos since they came out of the camera, so that's not possible. I never edited them. Maybe, though, my camera (and Konqueror, and all the other apps I've since tried, like GQview and Gwenview) applies the same EXIF rotation info to the thumbnail, and doesn't rotate the thumbnail itself; and Digikam doesn't. > in your case. If you turn off the "Use thumbnails embedded in files", > then konqueror and digiKam thumbnails will look correctly oriented. Yes, but ... is there a way to fix this? E.g. by teaching digikam to use the embedded thumbnails as well? =;) I am not too fond of having to disable one of Konq's features to be able to fix a bug that appears between the two (no matter what app exactly is to be blamed for this) ... ;) |