3
\$\begingroup\$

I am beginner and I made a mistake. I wanted to have the best quality and I saved photos only as raw files (arw). (I have a Sony DSC-RX100 IV).

I have 1000 photos and I would like to save them as jpeg (or tiff). Now, I have no time and skills to do that manually. I think my camera should do this better but I did not do that.

Could you recommend the software (for Linux, eventually Windows) that helps me to have similar effect like auto in my camera (convert arw into jpeg)? I want software to do that and I want to have jpegs as good as camera can process. I want the software that can choose proper settings like the camera does.

\$\endgroup\$
0

6 Answers 6

6
\$\begingroup\$

Have you tried using Sony's "Imaging Edge" software?

Most manufacturers' raw developing software opens raw images with the in-camera settings at the time the image was captured applied by default. Canon's Digital Photo Professional and Nikon's Capture NX-D both certainly do.

\$\endgroup\$
3
  • 1
    \$\begingroup\$ See Sony's instructions for saving multiple files as JPEG at once. \$\endgroup\$
    – mattdm
    Feb 8, 2019 at 12:52
  • 1
    \$\begingroup\$ Unfortunately, though, online chatter I can see (including this answer on this site) seems to indicate that Sony didn't put much effort into making their provided software's processing match the in-camera processing. \$\endgroup\$
    – mattdm
    Feb 8, 2019 at 12:55
  • \$\begingroup\$ Contrast Fujifilm, where there's an option to hook your camera to your computer and literally use the camera's internal engine to do the conversion. \$\endgroup\$
    – mattdm
    Feb 8, 2019 at 12:56
4
\$\begingroup\$

For Linux, the following all have GUIs you can use to adjust settings and CLI you can script for batch conversion.

  • UFRaw
  • RawTherapee
  • DarkTable

You may also consider trying the camera manufacturer's software with WINE.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ darktable-cli INPUT OUTPUT \$\endgroup\$ Feb 24, 2021 at 4:11
3
\$\begingroup\$

I recently found myself in the same situation, took some RAW shots, not RAW + Jpeg, and now have a ton of photos that I need to improve in order to show anyone.

I've tried a small handful of programs so far- Imaging Edge, Fotor, FastStone Image Viewer.

Here's what I've found-

Imaging Edge works very well. It's made by Sony and going by the logic that "Sony knows Sony", I trust that it knows how to work with it's own camera's images. And the results look pretty good. It's also reasonably fast, 500 pictures took around 30-40 minutes.

FastStone Viewer was nearly as good. I used the "Quality = 100" setting, everything else default. It was as fast, or nearly as fast, as Imaging Edge. The quality was nearly indistinguishable. The jpeg file sizes were much larger, around double the size. FastStone has some other options that could be tweaked that might make more of a difference, but I didn't play with them.

Fotor was not very good. It was VERY slow, taking about 24 hours to convert the photos (it's hard to tell exactly how long, because my laptop kept sleeping after a few hours, and I'm not sure the processing was working in the background.) Also, the resulting photos were very 'noisy'. Some looked ok at the regular size, but when I zoomed in on the photo, there were a LOT of extra color and pixels that distracted from the image. Would not recommend this one.

So, as Michael C says, try the Sony program and see what happens. Imaging Edge is actually three programs (viewer, editor and camera remote control). It's the viewer that I used to batch-output my photos.

Hope that helps.

\$\endgroup\$
1
\$\begingroup\$

One of the other answers, by @Marco, has a negative score, and that is the one that I ended up preferring:

exiftool -b -PreviewImage IN.ARW > OUT.jpg

As pointed out in the comments, this has the disadvantage of not preserving the full resolution of the image. On my 14-year-old camera, the preview image extracted by ExifTool is 1616 x 1080, not quite the resolution of my monitor, but good enough for a web page. The other option for me, since I didn't want to use proprietary software, was @xiota's suggestion to use the command line interface of a GUI tool. The tool that I had been using is DarkTable, and the command-line is very simple:

darktable-cli IN.ARW > OUT.jpg

Perhaps for the future, I should read the user's manual and try to get the camera to save high-resolution JPEGs, but for my immediate needs, the exiftool extraction option produced a suitable resolution and far superior colors.

It's unfortunate that, at least in my case, the DarkTable default output is so much lower quality than whatever the software in the camera is producing. However, I guess Sony put a lot of work into their software.

I decided to post this additional answer, because I figured I'm not the only web user who is willing to sacrifice resolution for color quality, and I wanted to make sure that the Marco's answer didn't get ignored or deleted.

Output of DarkTable (originally 4288 x 2856):

darktable-cli output

Output of ExifTool (originally 1616 x 1080):

exiftool output

Which one would you want to see on a web page?

Also, before you downvote this answer, note that the OP asked for:

  • "software (for Linux, eventually Windows) that helps me to have similar effect like auto in my camera (convert arw into jpeg)?"

    (Check. This software produces an identical effect to that of the camera's firmware, because it is extracting the output of that firmware.)

  • "I want software to do that and I want to have jpegs as good as camera can process"

    (The jpegs extracted by exiftool are lower resolution than the camera can process - but aside from that, the quality is the same, because they came from the camera. Other answers produced inferior output for my use case)

  • "I want software that can choose proper settings like the camera does."

    (In one sense, exiftool is not choosing the settings; in another sense, it is choosing exactly the same settings as the camera...)


Update: One commenter expressed concern about the compression quality of the preview image. I don't think there's any reason for Sony to use a low quality compression for a preview image. The goal is to have an image that looks good on a small screen, and this is achieved with good compression but lower resolution.

To estimate the compression quality that my camera uses for previews, I used ImageMagick's convert tool:

convert IN.jpg -quality 96 OUT.jpg

I adjusted the quality until the size of the input and output was the same, in this case 508k. This corresponds to a quality of 96 which seems fairly high to me.

For comparison, the RAW image file is 13M, so the preview is adding less than 5% to the file size.

\$\endgroup\$
1
  • \$\begingroup\$ I am not sure about your statement that apart from the resolution the quality of the preview image is the same. I could imagine that the compression factor for a preview image is relatively high. \$\endgroup\$
    – slingeraap
    Feb 24, 2021 at 12:45
0
\$\begingroup\$

Unfortunately, I have been unable to find a tool that creates JPGs similar to what the camera creates.

The issue is noise. Most annoying noise is chroma noise, the second most annoying noise is luma noise.

One option to reduce chroma noise is to do a L+A+B channel decomposition of the image, apply gaussian blur to the A+B channels and combine again. Unfortunately, this is a lot of manual work unless you write a script to do it, and the chroma resolution will be severely affected. The JPG created does not have as good chroma resolution as the ones produced by the camera.

Another option is the profiled denoise module of the open-source software called 'darktable'. It uses noise measured from the camera sensor (that's why it's called profiled), and has options for non-local means or wavelet noise reduction. The wavelet one according to my tests is way too aggressive, reducing the resolution of fine details. The non-local means is by far the best noise reduction algorithm I have found in open-source software. Unfortunately, for high ISO sensitivities, when cropping a small 1500x1000 area from a 24 megapixel 6000x4000 image, the profiled non-local means algorithm may give a slightly painting-like appearance which the noise reduction algorithms in the camera do not do. On the other hand, non-local means will remove more luma noise than what the camera does.

If you don't shoot at high ISO sensitivities using a high-megapixel sensor and subsequently crop a small area from the image (effectively using 'digital zoom'), this issue probably doesn't affect you.

\$\endgroup\$
-1
\$\begingroup\$

For Linux you could use exiftool:

exiftool -b -PreviewImage -w _preview.jpg -ext arw <directory>

It treats all arw files in the directory. With an extra -r parameter it also does the sub-directories. The files will have the same name as the arw files but _preview.jpg will be added.

\$\endgroup\$
4
  • 2
    \$\begingroup\$ How is that going to apply the in-camera settings to a conversion from raw to jpeg? Many jpeg preview images are lower resolution (half or even quarter the resolution of the image file). \$\endgroup\$
    – Michael C
    Feb 4, 2019 at 16:48
  • \$\begingroup\$ It is a preview that is in the RAW. I guess that it is processed according to the camera settings the same way as when you store the picture as RAW and JPG on your camera. I must admit that I have not tried it myself. I just stumbled upon this option when I was looking for something else. \$\endgroup\$
    – Marco
    Feb 6, 2019 at 12:54
  • 2
    \$\begingroup\$ The jpeg previews will, of course use the in-camera processing settings, but depending on the specific camera, may not be at full resolution. Many jpeg preview images are lower resolution (half or even quarter the resolution of the image file). \$\endgroup\$
    – Michael C
    Feb 6, 2019 at 13:49
  • 4
    \$\begingroup\$ I just tested this with some sample RAW images from the Sony DSC-RX100 IV, and the preview images are 1616×1080, or about 1/11th of full size. ImageMagick identifies it as JPEG quality 95, which is not awful but also not particularly high — although really given the loss of resolution merely an academic concern. \$\endgroup\$
    – mattdm
    Feb 8, 2019 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.