Review Request: Jpeg thumbnailer honouring jpeg rotation info

Jacopo De Simoi wilderkde at gmail.com
Mon Aug 31 11:00:36 BST 2009



> On 2009-08-31 09:51:14, Aurélien Gâteau wrote:
> > Looks good, but be careful with libexiv2: it throws exceptions if it has trouble reading images. You may want to use either libkexiv2 (from kdegraphics/libs) or copy Gwenview lighter wrapper (kdegraphics/gwenview/lib/exiv2imageloader.{h,cpp})

I'm reluctant to use libkexiv2 because this would give headaches with the dependency chain (the thumbnailer belongs to base/runtime).
I will have a deeper look at the Gwenview wrapper. Thanks a lot


- Jacopo


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1444/#review2210
-----------------------------------------------------------


On 2009-08-30 21:33:48, Jacopo De Simoi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1444/
> -----------------------------------------------------------
> 
> (Updated 2009-08-30 21:33:48)
> 
> 
> Review request for kdelibs.
> 
> 
> Summary
> -------
> 
> This patch makes the jpeg thumbnailer honor jpeg rotation infos stored in exif metadata. 
> The method is quite simple, although I don't like ifdefs, this time they seem to me to be necessary.
> It's my first nontrivial CMake modification; please check that I did not do something stupid there.
> Also, the orientationMatrix method could be ifdeffed if you feel it is necessary; I just didn't want to add another ifdef.
> 
> I am not sure if this is a good solution performance-wise; please comment on that if you have better ideas.
> 
> 
> Diffs
> -----
> 
>   branches/KDE/4.3/kdebase/runtime/kioslave/thumbnail/CMakeLists.txt 1016603 
>   branches/KDE/4.3/kdebase/runtime/kioslave/thumbnail/jpegcreator.h 1016603 
>   branches/KDE/4.3/kdebase/runtime/kioslave/thumbnail/jpegcreator.cpp 1016603 
> 
> Diff: http://reviewboard.kde.org/r/1444/diff
> 
> 
> Testing
> -------
> 
> Works good with a *clean* .thumbnails directory. Cached thumbnails are indeed a problem; not sure how to solve this issue yet.
> 
> 
> Screenshots
> -----------
> 
> Dolphin showing correctly rotated jpegs
>   http://reviewboard.kde.org/r/1444/s/192/
> 
> 
> Thanks,
> 
> Jacopo
> 
>





More information about the kde-core-devel mailing list