<div dir="ltr">Hi Aureilien,<div><br></div><div style>libkdcraw, which use last available libraw (i'm in contact with libraw author), is just that you need. libkdcraw provide a simple QImage based method to load Raw preview (JPEG embeded image) or a reduced version of demosaiced RAW.</div>
<div style><br></div><div style><div><a href="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw">https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw</a><br></div><div><br></div></div><div style>
There is also another project which plug a QImageLoader in KDE to be able to open RAW formats to all KDE application. It use libkdcraw. Look here :</div><div style><br></div><div style><a href="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-thumbnailers/repository/revisions/master/show/raw">https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-thumbnailers/repository/revisions/master/show/raw</a><br>
</div><div style><br></div><div style>In other words : no need to re-invent the wheel (:=)))...</div><div style><br></div><div style>Best</div><div style><br></div><div style>Gilles Caulier</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/2/28 Aurélien Gâteau <span dir="ltr"><<a href="mailto:agateau@kde.org" target="_blank">agateau@kde.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I was recently pointed out to <a href="https://github.com/mardy/qtraw" target="_blank">https://github.com/mardy/qtraw</a> . A Qt image<br>
plugin which uses libraw to load raw files. I contributed a bit to it, and I<br>
am now able to load .arw images with Gwenview.<br>
<br>
The main thing missing is that right now the .desktop file lists only one<br>
mimetype: image/x-sony-arw. I know very little about raw files, so I don't<br>
know what would make sense to add there. Can you help?<br>
<br>
More on file formats: the plugin announces itself as supporting the following<br>
formats: cr2, arw, nef, raf and dng. The list is hardcoded in<br>
RawPlugin::keys(). Is there something smarter to do there (like getting such a<br>
list from libraw)?<br>
<br>
The plugin also does something weird in RawPlugin::capabilities(), adding tif<br>
format there. I am not sure this is a good idea.<br>
<br>
Anyway, your feedback on this is welcome. It would be nice if we can get<br>
distributions to ship this plugin, but before pushing distros to package it, I<br>
want to make sure it does not interfer with existing raw support in digiKam<br>
and other imaging applications.<br>
<br>
Aurélien<br>
_______________________________________________<br>
Kde-imaging mailing list<br>
<a href="mailto:Kde-imaging@kde.org">Kde-imaging@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-imaging" target="_blank">https://mail.kde.org/mailman/listinfo/kde-imaging</a><br>
</blockquote></div><br></div>