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

Belinda Martin belindamartinboni at yahoo.fr
Thu Dec 29 16:09:48 GMT 2005


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




More information about the Digikam-devel mailing list