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
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
Hello,
humm... Just whahou :) !
Many thanks for all your details.
I wasn't aware of all the complexity of pixel color formats conversion.
I don't know if I will have time to try your transformation suggestion (at
some point I guess I will).
I was wondering if this kind of transformation may
Hi Jerome,
The problem you're encountering is that your .CR2 file is in a different
color space (AdobeRGB) from your display device (sRGB). In order to
properly view it, you will need to transform each pixel from AdobeRGB to
sRGB (which is exactly what the Windows viewer is doing). This is a
I'd like to add that you may also need to consider a Von Kries Ives style
chromatic adaptation if moving between colour spaces with different white
points see http://www.brucelindbloom.com/index.html?Eqn_ChromAdapt.html for
an introduction.
Kevin
___
Good point, I assumed Jerome's CR2 files were in AdobeRGB (D65 white
point). If they're in Adobe Wide Gamut RGB colour space (D50 white
point), they'll require an additional transform between the two matrices:
[CIE XYZ to sRGB] x [Von Kries D50 to D65] x [AdobeWideGamutRGB to CIE XYZ]
On Mon,