[Digikam-devel] Thumbnails

Gilles Caulier caulier.gilles at gmail.com
Sun May 24 12:43:52 BST 2009


2009/5/24 Gilles Caulier <caulier.gilles at gmail.com>:
> 2009/5/24 Arnd Baecker <arnd.baecker at web.de>:
>> On Sat, 23 May 2009, Andi Clemens wrote:
>>
>>> Hi,
>>>
>>> is it possible that our thumbnails are somehow not compatible with dolphin or
>>> gwenview?
>>
>> Maybe this entry
>>  https://bugs.kde.org/show_bug.cgi?id=152877
>> is of relevance here?
>> (Or is this one already solved in svn?)
>
> I think it's not fixed yet... and i think it's the Andi problem...
>
> I take a look to compare KDE thumb generator and digikam code...
>
> Gilles
>

Arnd,

Look code here :
http://lxr.kde.org/source/extragear/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp#247

uri is a QString. There is no latin conversion to record Uri in text
png chunk. so no problem from digiKam code here.

BUT, ztxt png text chunk only support latin code from PNG library.

http://www.libpng.org/pub/png/spec/iso/index-object.html#11tEXt

ONLY itxt png text chunk oly support UTF-8 char encoding, and the
method to create itxt png chunk is disable until libpng 1.4.0...

http://www.libpng.org/pub/png/spec/iso/index-object.html#11iTXt

The question is : how Qt4::Qimage do to record QString in png text chuck ?

Gilles Caulier



More information about the Digikam-devel mailing list