[Kde-imaging] extragear/libs/kipi-plugins/rawconverter[POSSIBLY UNSAFE]
Gilles Caulier
caulier.gilles at kdemail.net
Wed Oct 11 11:02:17 CEST 2006
On Wednesday 11 October 2006 10:53, Aurelien Gateau wrote:
> >> and if, as you said, there are a >> lot of people who want to have
> >> libdcraw why not to implement it? > > Because it very complicated to do
> >> (:=))). Look in dcraw.c for example.
>
> dcraw.c + dcrawiface.cpp could be considered to be libdcraw :-).Am I wrong?
Not exactly, because dcraw.c is compiled to give and external binary program
named "kipidcraw". In fact it's dcraw but fully tested with the plugin.
The dcrawiface is a class witch invoque the kipidcraw binary program using the
right options. Of course this interface can be used with recent dcraw
version, but it's not a real library witch include the dcraw implementation.
To have tried to make a full C++ dcraw class in digiKam core, i can said that
it's possible to do but _very_ difficult to maintain. Also, it's not my task
to maintain this RAW decoder implementation. The algorithms are very complex.
Also, it's a nightmare to update the code from Dave to a C++ library.
If a dcraw library must be done, it's the task of Dave, not an external guy.
I'm not sure than libopenraw is a right way. Dave do not contribute to this
project. It's a big problem.
Gilles
More information about the Kde-imaging
mailing list