[Digikam-devel] [Bug 272175] picture orientation is "forgotten" in viewer and light table when using xmp sidecar
Leif Huhn
leif at dkstat.com
Sat Jul 9 22:41:04 BST 2011
https://bugs.kde.org/show_bug.cgi?id=272175
Leif Huhn <leif at dkstat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |leif at dkstat.com
--- Comment #3 from Leif Huhn <leif dkstat com> 2011-07-09 21:41:04 ---
I'm having the same problem. This code from
extra/libkexiv2/libkexiv2/kexiv2.cpp
is related:
// If XMP sidecar exist and if we want manage it, parse it instead the
image.
if (d->useXMPSidecar4Reading)
{
QString xmpSidecarPath = sidecarFilePathForFile(filePath);
QFileInfo xmpSidecarFileInfo(xmpSidecarPath);
if (xmpSidecarFileInfo.exists() && xmpSidecarFileInfo.isReadable())
{
// TODO: We should rather read both image and sidecar metadata
// and merge the two, with sidecar taking precedence
image = Exiv2::ImageFactory::open((const char*)
(QFile::encodeName(xmpSidecarPath)));
}
}
We're not storing the orientation in XMP at all, so unless we merge the data,
we will have no orientation data.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list