Sonry ARW format for RX100 camera and color profile.

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
TheTithe
Posts: 4
Joined: 2012-10-02T17:20:05-07:00
Authentication code: 67789

Sonry ARW format for RX100 camera and color profile.

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

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

Post by Bonzo »

There is an old post about Sony RAW here which may help:
viewtopic.php?f=3&t=13681
TheTithe
Posts: 4
Joined: 2012-10-02T17:20:05-07:00
Authentication code: 67789

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

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

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

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

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

Post 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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

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

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
TheTithe
Posts: 4
Joined: 2012-10-02T17:20:05-07:00
Authentication code: 67789

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

Post 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.
TheTithe
Posts: 4
Joined: 2012-10-02T17:20:05-07:00
Authentication code: 67789

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

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

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

Post 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?
lordkevin
Posts: 1
Joined: 2012-12-08T00:03:10-07:00
Authentication code: 6789

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

Post by lordkevin »

Thanks for the nice post...
Our NS0-163 course is mainly focused on graphics. We provide high quality 646-671 resources to help you learn the expert designing skills. Join OG0-093 braindumps online course to learn web designing at your pace.and more visit HP Good Luck.
Post Reply