Page 1 of 1

NConvert, RAW -> JPEG wrong color

Posted: Wed Apr 13, 2011 9:39 am
by morgantar
Hi!
I'm using nconvert under OSX to convert my raw files to jpeg. I use this code:

Code: Select all

/Users/dan/Desktop/nconvert -out jpeg /Users/dan/Pictures/Nikon/138\ -\ london\ 2011/DSC_3160.NEF  
The output files have a strange color profile, images look more sepia. How i can solve it?
Thank you!

Re: NConvert, RAW -> JPEG wrong color

Posted: Wed Apr 13, 2011 1:19 pm
by xnview
Is it possible to post your file?

Re: NConvert, RAW -> JPEG wrong color

Posted: Tue Dec 13, 2011 6:19 am
by rogerdahl
I have this same problem, using NConvert 6.01.

When I open a RAW (NEF) file in XNView, the colors are very different from when I convert the same RAW file to JPG using NConvert and view the resulting JPG in XNView.

The command line I used was:

nconvert -out "jpeg" -q 90 -high_res -o DSC_3945.JPG DSC_3945.NEF

Here are two example files.

http://dl.dropbox.com/u/38272118/DSC_3945.JPG
http://dl.dropbox.com/u/38272118/DSC_3945.NEF

Re: NConvert, RAW -> JPEG wrong color

Posted: Tue Dec 13, 2011 8:32 am
by xnview
could you post the result that you have with XnView??

Re: NConvert, RAW -> JPEG wrong color

Posted: Tue Dec 13, 2011 3:41 pm
by rogerdahl
I'm using Windows 7.

Here's a screenshot of viewing the NEF in XnView:

http://www.dahlsys.com/upload/1937f170- ... c00008.png

And here's a screenshot of viewing the JPG:

http://www.dahlsys.com/upload/03f04aa1- ... c00008.png

The difference also shows in thumbnail view:

http://www.dahlsys.com/upload/414dac2e- ... c00008.png

Re: NConvert, RAW -> JPEG wrong color

Posted: Tue Dec 13, 2011 7:13 pm
by xnview
And the good one is the nef viewed in XnView or the jpeg?

Re: NConvert, RAW -> JPEG wrong color

Posted: Tue Dec 13, 2011 11:14 pm
by rogerdahl
The NEF is the good one.

XnView displays NEF with the same colors as Photoshop does when converting with the NEF importer at all default settings (White Balance: As Shot).

http://rd.gnus.org/upload/DSC_3945.NEF% ... toshop.png

So the problem appears to be in the defaults, white balance or color profile that NConvert uses when it reads NEF.

Re: NConvert, RAW -> JPEG wrong color

Posted: Wed Dec 14, 2011 8:37 pm
by xnview
Ok, please try

Code: Select all

-raw_autobright -raw_autobalance

Re: NConvert, RAW -> JPEG wrong color

Posted: Thu Dec 15, 2011 12:45 am
by rogerdahl
I really appreciate the help, and thank you for XnView -- it's awesome.

Using -raw_autobright -raw_autobalance makes a huge difference. The converted JPEG now looks almost exactly like the NEF (when displaying both in XnView). The JPEG is just very slightly more blue than the NEF. The difference on this image is so small that it doesn't matter to me, but the "auto" settings seem to indicate that the brightness and balance is no longer deterministic, but based on an analysis of the photo? If so, is there a switch that I can use to get a "standard' conversion that matches what XnView does? (Assuming that XnView does not do the equivalent of -raw_autobright -raw_autobalance).