This project has moved. For the latest updates, please go here.

ARW format

Dec 12, 2013 at 7:11 PM
Hi. I tried to convert a ARW image (Sony RAW format) and I got this error:
$exception {"Magick: TIFF directory is missing required \"ImageLength\" field. `MissingRequired' @ error/tiff.c/TIFFErrors/561"} System.Exception {ImageMagick.MagickCoderErrorException}

Could you help, please?

Regards, Carsten
Coordinator
Dec 12, 2013 at 8:16 PM
Could you try this:
MagickReadSettings settings = new MagickReadSettings();
settings.Format = MagickFormat.Crw;
image.Read("yourimage.arw", settings);
Please e-mail me your image if that doesn't work.
Dec 12, 2013 at 8:20 PM
Thx a lot! I'm your fan!
-Carsten
Coordinator
Dec 12, 2013 at 8:23 PM
I found this trick on the discussion board of ImageMagick: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=13681. The forum is quite useful to find tricks for ImageMagick.

p.s. Thank you once more for your donation :)
Dec 12, 2013 at 8:25 PM
You are welcome! :-) and thx a lot for your great work

Von meinem iPhone gesendet

Am 12.12.2013 um 22:23 schrieb "dlemstra" <[email removed]>:

From: dlemstra

I found this trick on the discussion board of ImageMagick: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=13681. The forum is quite useful to find tricks for ImageMagick.

p.s. Thank you once more for your donation :)
Dec 13, 2013 at 7:30 AM
Is there a way to determine the MagickReadSettings (before I read the image) I have to use?
Coordinator
Dec 13, 2013 at 7:55 AM
You only need it in specific situations. For example when you try to read your AWR image.
Dec 13, 2013 at 7:57 AM
Ok, thank you. I hope, every ARW or CR2 has this behavior...
Thx a lot!
Coordinator
Dec 13, 2013 at 8:28 AM
With the statement 'settings.Format = MagickFormat.Crw' you are forcing ImageMagick to use the internal crw decoder.