I just noticed my command line isn't quite right... (in case anybody
blindly tries what I wrote)

you have to use -c and a redirection to a file to get a fully
specifiable file name for the output file

dcraw -4 -o0 -T -c /path/to/cr2 > /path/to/output.tif

or you can just run it

dcraw -4 -o0 -T  /path/to/file.cr2

and it will create a new file in the same path with the tif extension

When running it it will perform no colour scaling and should leave the
colour in the same colour space as the RAW file, so it is likely you
will not get nice pictures, visually the saturation and hue will
probably look odd because camera raw spaces are not display ones.

You can specify an alternative colour space via the -o option

Kevin

On Mon, May 4, 2015 at 10:36 AM, Jerome Esnault
<esnault.jer...@gmail.com> wrote:
> Hello,
>
> I tested the dcraw conversion and it gave me a darker result (whatever the
> colorSpace destination), so I assumed this is intrinsic to the camera sensor
> parameters and/or the picture was took within these conditions.
> If you want to test it, feel free to try my program from there :
> https://github.com/ejerome/CheckImgLinearity
> Thanks again,
> Best,
> Jeorme
>
>
>
> 2015-04-28 11:48 GMT+02:00 Jerome Esnault <esnault.jer...@gmail.com>:
>>
>> OK, thanks!
>> It could be great if this could be part of the OIIO lib feature :)
>> Many thanks.
>> Best,
>> Jerome
>>
>> 2015-04-22 12:17 GMT+02:00 Kevin Wheatley <kevin.j.wheat...@gmail.com>:
>>>
>>> using dcraw you can do something like...
>>>
>>> dcraw -4 -o0 -T /path/to/cr2 /path/to/output.tiff
>>> Kevin
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> Oiio-dev@lists.openimageio.org
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>
>>
>
>
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to