Page 1 of 1

Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-21T11:55:02-07:00
by jussi
I have tried to solve for some time but I cannot figure out what is wrong with my basic convert:

$magick convert 1.ORF 1.JPG

The command went through but the resulting image has a strong (greenish) color shift. I tried also:

$magick convert 1.ORF -colorspace sRBG 1.JPG

but with the same result. I also ran an other convert just to check whether it was ORF related:

$magick convert 1.RW2 1.JPG

again the same result.

I checked "identify -verbose" but I couldn't find a color profile.

I will upload the image if it will help. Please let me know what's my mistake. Thanks.

I am using Win10 and my IM -version is 7.0.2-9 Q16 x64.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-21T11:59:55-07:00
by snibgo
jussi wrote:I will upload the image if it will help.
Yes. Ideally also upload a picture of what it should look like, and how you know this.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-22T07:41:11-07:00
by jussi
My bad, I thought there might be something really basic I missed.

magick convert gives me this:

https://goo.gl/photos/U8jnkBF3RjKJ4seq8

Faststone converts it like this:

https://goo.gl/photos/dxSBYCqHgSm4cqAH7

I do not know how it should look like but the latter one looks more natural.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-22T07:48:12-07:00
by Bonzo
There is a deligates.xml file in the imagemagick install and you can alter the options as it either uses dcraw or ucraw? I would check to see what Imagemagick is using and check the options for that software on the relevant website. You can then try changing some of the options in delegates.xml as it could be something like a colour balance.

Where are your RAW files coming from?

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-22T08:08:45-07:00
by jussi
Bonzo wrote:There is a deligates.xml file in the imagemagick install and you can alter the options as it either uses dcraw or ucraw? I would check to see what Imagemagick is using and check the options for that software on the relevant website. You can then try changing some of the options in delegates.xml as it could be something like a colour balance.

Where are your RAW files coming from?
Thanks. I'll try that.

RW2 comes from panasonic GM1 and ORF from Olympus EM1 camera.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-22T08:22:22-07:00
by Bonzo
Strange you have problems with two different cameras; I know Nikon files can be trouble.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-22T08:46:04-07:00
by Bonzo
I have just tried installing version 7 on my Windows 10 PC to see what I get with a CR2 file but dcraw will not run. I will have to look into that when I get time.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-22T09:33:38-07:00
by jussi
Bonzo wrote:Strange you have problems with two different cameras; I know Nikon files can be trouble.
Yep, I was quite sure this was a basic user error.

Here is an ORF-file if anyone wants to try it out:

https://drive.google.com/file/d/0B_gHVa ... sp=sharing

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-23T09:53:33-07:00
by jussi
Bonzo wrote:There is a deligates.xml file in the imagemagick install and you can alter the options as it either uses dcraw or ucraw? I would check to see what Imagemagick is using and check the options for that software on the relevant website. You can then try changing some of the options in delegates.xml as it could be something like a colour balance.
I tried this but I wasn't sure how to proceed. There is deligates.xml in portable install package but and there is dcraw with punch of arguments. I reckon it will not work just change dcraw -> ucraw? Is there any documentation on deligates.xml? I tried to change my installed deligates.xml in that way but just got an error (no surprise).

I installed legacy part but it didn't help either.

I wonder am I the only one having the issue? Is anyone able to convert ORF or RW2 files and if yes using which IM version?

Can I still download 6.* version from somewhere?

Thanks.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-23T10:48:05-07:00
by fmw42
IM 6 can be downloaded from http://www.imagemagick.org/download/ as source code. I do not know that IM 6 is still being provided in binary form any longer. Depending upon your platform, you can still get it from other sources such as MacPorts on the Mac, for example.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-23T11:23:31-07:00
by snibgo
With the linked .orf image, and the following command ...

Code: Select all

dcraw -w -T -6 -O x.tiff P6100784.ORF
... the dcraw provided with IM 6.9.5-3 makes an exactly black image. The dcraw provided with the previous IM that I use, v6.9.2-5, works fine.

There was a recent post about dcraw being "improved" for IM. This may have caused the problem.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-23T11:53:32-07:00
by dlemstra
I just tried the latest development build of dcraw and it produces a correct result. The fixed version should be able this week.

Re: Basic ORF and RW2 convert results greenish color shift / tint

Posted: 2016-08-23T23:13:55-07:00
by jussi
dlemstra wrote:I just tried the latest development build of dcraw and it produces a correct result. The fixed version should be able this week.
That is great news! Looking forward to that and big thanks for the development team and everyone involved.