[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: JPEG Thumbnailer
From: Andre_Gemünd <scroogie () gmail ! com>
Date: 2008-08-14 21:02:02
Message-ID: 48A49D4A.8090208 () gmail ! com
[Download RAW message or body]
Carsten Pfeiffer schrieb:
> Hiya,
Hello Carsten,
> that is certainly a great idea! IIRC there was also some code to use
> the jpeg-embedded thumbnail, if available and if large enough for the
> requested dimensions.
do you mean in the thumbnail slave or Gwenview / digikam? Gwenview afaik
uses exiv2 to check for the embedded thumbnail. The slave doesn't
directly do that. It does first check KFileMetaInfo for a stored
thumbnail, which should in theory come from strigi, but I don't know if
the strigi analyzer stores the exif thumbnail?
> > + FILE *fd_in;
> > + if ((fd_in = fopen(path.toLatin1().data(), "rb")) ==
>
> Can you use the QFile API instead of fopen()? If not, then please use
> QFile::encodeName() instead of latin1() to preserve the filename
> encoding.
In theory you can. I'd have to write a custom source manager for that
then, because we can't use the stdio one of jpeglib in that case. I
think it would add a lot of code though, is it really needed?
I will change the filename encoding.
Greetings and thanks
André
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic