[Digikam-devel] [Bug 229340] Digikam Crashes When Saving PNG Files, now 1.2.0 also
Marcel Wiesweg
marcel.wiesweg at gmx.de
Sat Apr 3 13:34:04 BST 2010
https://bugs.kde.org/show_bug.cgi?id=229340
--- Comment #17 from Marcel Wiesweg <marcel wiesweg gmx de> 2010-04-03 14:33:50 ---
#ifdef PNG_iTXt_SUPPORTED
// TODO : this code is not yet tested. It require libpng 1.3.0.
case(DImg::COM):
{
png_text comment;
comment.key = const_cast<char*> ("Comment");
comment.text = ba.data();
comment.itxt_length = ba.size();
comment.compression = PNG_ITXT_COMPRESSION_zTXt;
png_set_text(png_ptr, info_ptr, &(comment), 1);
kDebug() << "Writing digiKam comment into iTXt PNG chunk :
" << ba;
break;
}
#endif
What is your libpng version?
--
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