Fwd: Re: JPEG Thumbnailer

Allen Winter winter at kde.org
Sun Dec 21 13:09:17 GMT 2008


Was this ever applied?
-Allen
========================================================

On 8/20/08, Thiago Macieira <thiago at kde.org> wrote:
> Just do whatever you were doing, but use QFile::encodeName(filename) to
> convert from QString to the char* that fopen uses.

Ok here it is. Sorry it took me so long, i was a bit busy with studies
(going to start my thesis soon, hurray!).
I changed the encoding and replaced convertDepth with convertToFormat
because the former is deprecated.
As a reminder, here is test pictures:
http://digikam3rdparty.free.fr/TEST_IMAGES/JPEG
Its easier to compare if you change CacheThumbnail to false in
jpegthumbnail.desktop

Greetings
Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jpeg_thumbnailer.diff
Type: text/x-patch
Size: 8886 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081221/389d431f/attachment.bin>


More information about the kde-core-devel mailing list