[Digikam-devel] extragear/graphics/digikam/libs/dimg/loaders

Tom Albers tomalbers at kde.nl
Thu Dec 29 17:16:33 GMT 2005


Op donderdag 29 december 2005 18:18, schreef Gilles Caulier:
> Le Jeudi 29 Décembre 2005 17:09, Belinda Martin a écrit :
> > On Thursday, 29. December 2005 14:39, Gilles Caulier wrote:
> > > SVN commit 492272 by cgilles:
> > >
> > > digikam from trunk : using -q dcraw option to decode RAW file under
> > > Image Editor is better than -h : right image size, good image quality,
> > > and suitable image decoding speed. TODO : added new IE setting tab in
> > > setup dialog about advanced RAW decoding options. CCMAIL:
> > > digikam-devel at kde.org
> > >
> > >
> > >  M  +4 -4      rawloader.cpp
> > >
> > >
> > > --- trunk/extragear/graphics/digikam/libs/dimg/loaders/rawloader.cpp
> > > #492271:492272 @@ -73,11 +73,11 @@
> > >
> > >      // run dcraw with options:
> > >      // -c : write to stdout
> > > -    // -h : Half-size color image (3x faster than -q)
> > > +    // -q : Use simple bilinear interpolation for quick results
> > >      // -2 : 8bit ppm output
> > >      // -w : Use camera white balance, if possible
> > >      // -a : Use automatic white balance
> > > -    command  = "dcraw -c -h -2 -w -a ";
> > > +    command  = "dcraw -c -q -2 -w -a ";
> > >      command += QFile::encodeName( KProcess::quote( filePath ) );
> > >
> > >  #ifdef ENABLE_DEBUG_MESSAGES
> > > @@ -156,11 +156,11 @@
> > >
> > >      // run dcraw with options:
> > >      // -c : write to stdout
> > > -    // -h : Half-size color image (3x faster than -q)
> > > +    // -q : Use simple bilinear interpolation for quick results
> > >      // -4 : 16bit ppm output
> > >      // -a : Use automatic white balance
> > >      // -w : Use camera white balance, if possible
> > > -    command  = "dcraw -c -h -4 -w -a ";
> > > +    command  = "dcraw -c -q -4 -w -a ";
> >
> > Salut Gilles,
> > I have the dcraw version 7.94, it doesn't accept -q without a numerical
> > parameter. It requires at least '-q 0' to work. Maybe you have an earlier
> > version?
> >
> > Gerhard
>
> Right. I use dcraw v7.49 that don't have any numerical values to use with
> -q option. From my dcraw man page :
>
> -q : Use simple bilinear interpolation for quick results. The default is to
> use a slow, high-quality adaptive algorithm.
>
> Dave Coffin have broken command line compatibility. It will be cool if he
> can use a default value with -q option with future dcraw release.

Since that version is already released, that is not a solution for now, right?

toma
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20051229/9fcd4070/attachment.bin>


More information about the Digikam-devel mailing list