Raw image orientation

Johannes Zarl-Zierl <[email protected]>
Newsgroups gmane.comp.kde.kimdaba
Message-ID <1809218.Oc62UpHI9a@mani>
Hi,

I've just pushed a bugfix for the handling of rotated raw images. To all the 
raw users on this list: can you try if the change handles your files 
correctly?

Problem description:

The embedded thumbnail in raw images is stored in landscape format, while the 
decoded raw image is returned by libkdcraw in portrait format (if the image is 
portrait). The embedded thumbnail is handled just like regular jpeg images and 
is rotated by KPhotoAlbum, thus rendering it correctly in the viewer.

If the decoded (already rotated) raw image is passed through this same image 
pipeline, though, the rotation is applied twice, leading to an incorrect 
orientation (usually visible in the thumbnail view).

If you have set "useRawThumbnail" to true, KPhotoAlbum (almost) always will 
use the embedded thumbnail, thus bypassing the problem.

This situation seems to be the case for all raw formats that I tried this 
with, but who knows for sure...

What can you do to help:
Disable "use raw thumbnail" and (re)generate the thumbnails for a bunch of 
landscape and portrait raw image files¹. Report back the result (and maybe the 
file type).

Cheers,
  Johannes



¹) You can of course just open the demo database and copy some raw files into 
it...

_______________________________________________
KPhotoAlbum mailing list
[email protected]
https://mail.kdab.com/mailman/listinfo/kphotoalbum
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEl6nGIhrxKR+gDIJesUNk9Y9clpgFAl2OjZQACgkQsUNk9Y9c
lpgDWwf9GwRTNCNY3clduZOUzg7IZOPwEpi/v9NBGPLNGXLVMNKJ9wnxSwDV2gu8
sL1k6fxZp+5IVUE/T992K880GhtAHD+Hh7kzMLS/AlX6LICh8y9ZrC9cUI565daO
5IhxBryIEKORZFlq0AjwWqSCRE+CGOgMbg9tFA1u0sYBxLolUkEea9/TP6IKOed8
MvpcKR2NzgvK+9cBdPkF9ktysXXfwlb2e0hI8ifQb+kNKEWSj2ajGClk/DtbA+SC
2EAyZ24MBL1YtKp7ayfe3FL4XYJm+8UPy000u5o4V3aZ5B1j2YQHo+m1pILnQcr8
cRsbGmHyoVSoJfxWzpT2/MkdSm0Iew==
=e/Rr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.