Page 1 of 1

Sonry ARW format for RX100 camera and color profile.

Posted: 2012-10-03T06:55:17-07:00
by TheTithe
I recently tried saving some images using Sony's raw format on a DSC RX-100 camera. The issue I'm having is when I try to bulk convert them using Image Magick (command line utility convert). They images are converted successfully to jpeg, but are all washed out, They look blue and over saturated. I've tried opening the files in ufraw to manually find a way to make them look acceptable but I've been unsuccessful.

Does anybody know of a color profile to use for this camera? Any other tips?

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-10-03T09:13:23-07:00
by Bonzo
There is an old post about Sony RAW here which may help:
viewtopic.php?f=3&t=13681

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-10-03T09:19:50-07:00
by TheTithe
Bonzo wrote:There is an old post about Sony RAW here which may help:
viewtopic.php?f=3&t=13681
I looked at that post already. In my case ImageMagick is happily converting the image without errors. It's just that the converted image doesn't look correct. It looks perfectly fine on the camera when viewing the pictures, but the version that is generated by convert is washed out and blue tinted.

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-10-03T09:51:43-07:00
by Bonzo
Checking out the ufraw site and that camera is not supported and Google has quite a few posts about the Sony problem. One suggestion is to convert to dng first using the Adobe converter then run through ufraw/Imagemagick.

I would try it first and see if it works and then look into writing a batch convert program for your OS if the Adobe converter can not batch convert - looks like you can batch convert with it.

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-10-03T10:28:06-07:00
by Bonzo
I have just remembered I have problems with my CR2 files and need to modify this line in my delegates.xml file:

Code: Select all

 <delegate decode="dng:decode" stealth="True" command="dcraw.exe -6 -w -O "%u.ppm" "%i""/>
I can not remember at the moment but I think I change the -6 from a -4 as standard for Imagemagick.

Just seen it is dcraw not ufraw in my setup!!

A page showing some of the comand line options to change in the file above:
http://www.camerahacker.com/Digital/dcr ... mple.shtml

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-10-03T16:51:03-07:00
by anthony
Added the link to the bottom of the dcraw info in IM Examples..
http://www.imagemagick.org/Usage/formats/#crw

(give it a couple of hours to appear)

Sorry link was wrong, ("format", instead of "formats") it has now been fixed.

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-10-03T19:52:57-07:00
by TheTithe
Using dcraw with the following options works much better, not perfect but much better:

dcraw -4 -w

It still looks a little washed out but I think I may be able to play with the settings a little bit more to get that sorted out. I'll post updates as I find out what works better. If anybody else thinks of anything I'm still all ears.

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-12-04T11:25:24-07:00
by TheTithe
Just to give an update. I gave up trying to get ImageMagick to directly convert the image. I went with one of the suggestions which was to convert the images to DNG using Adobe's utility. This seems to work out well. I think the issue with the images was that when dcraw converted them it was over saturating the image, or something similar. At any rate the adobe utility works for converting the images to DNG. I just wish there was a way to do this natively on linux and in a single action instead of a two step process.

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-12-04T11:40:55-07:00
by Bonzo
Just searched for command line dng converter and the first item on the list is a method for running the Adobe converter from the command line. Perhaps you can write a batch file or whatever it is on Linux to combine the dng conversion and linux in one go?

Re: Sonry ARW format for RX100 camera and color profile.

Posted: 2012-12-08T00:10:43-07:00
by lordkevin
Thanks for the nice post...