Wrong whitebalace/colorgrade for arw files in ImageMagick - updated -

444 Views Asked by At

I want to convert SONY raw files (.ARW) to jpg with imagemagick. But there is a problem with the whitebalance (probably).

When I open the files in ACDSee or XNView, they look like the jpg-version off the camera, but when I open them in imagemagick Display, they are much darker and more reddish.

Obviously there are informations about color in the RAW file, but imagemagick cannot interprete them. Is there any way to extract those informations and apply them separately?

I am in the process of writing a tool to automatically download and publish fotos from the camera, therefore I tried imagemagick.NET (AnyCPU, v11.1) - the conversion program works fine, but the color-problem is the same.

Converted with imagemagick: converted with imagemagick

Converted with XnView (or any other graphics utility) converted with XnView (same as other Graphics utilities)

For anyone coming across this: according to Fred Weinhaus' comment I added this to my VB

    Dim settings As New MagickReadSettings
    settings.Format = MagickFormat.Arw
    settings.SetDefine(MagickFormat.Arw, "use-camera-wb", "true")

    Using Image As New MagickImage(input, settings)
0

There are 0 best solutions below