Basic ORF and RW2 convert results greenish color shift / tint

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jussi
Posts: 6
Joined: 2016-08-21T11:39:48-07:00
Authentication code: 1151

Basic ORF and RW2 convert results greenish color shift / tint

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
jussi
Posts: 6
Joined: 2016-08-21T11:39:48-07:00
Authentication code: 1151

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

Post 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.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post 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?
jussi
Posts: 6
Joined: 2016-08-21T11:39:48-07:00
Authentication code: 1151

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

Post 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.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post by Bonzo »

Strange you have problems with two different cameras; I know Nikon files can be trouble.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post 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.
jussi
Posts: 6
Joined: 2016-08-21T11:39:48-07:00
Authentication code: 1151

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

Post 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
jussi
Posts: 6
Joined: 2016-08-21T11:39:48-07:00
Authentication code: 1151

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

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

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

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
jussi
Posts: 6
Joined: 2016-08-21T11:39:48-07:00
Authentication code: 1151

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

Post 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.
Post Reply