[Digikam-devel] [Bug 182738] Digikam crash on/after image library scan
Gilles Caulier
caulier.gilles at gmail.com
Tue Feb 3 07:08:14 GMT 2009
http://bugs.kde.org/show_bug.cgi?id=182738
--- Comment #13 from Gilles Caulier <caulier gilles gmail com> 2009-02-03 08:08:13 ---
Andreas,
I'm agree that ExifParser::encode() is not the best solution here. But look
code from KExiv2::getExif()
#if (EXIV2_TEST_VERSION(0,17,91))
Exiv2::Blob blob;
Exiv2::ExifParser::encode(blob, Exiv2::bigEndian, exif);
QByteArray ba((const char*)&blob[0], blob.size());
#else
Exiv2::DataBuf c2 = exif.copy();
QByteArray ba((const char*)c2.pData_, c2.size_);
#endif
Before Exiv2 0.18, ExifData::copy() been available to. Now api has changed and
you have recommended to use ExifParser::encode() instead... There is another
alternative ?
Gilles
--
Configure bugmail: http://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