Resize RAW images on Mac OS

April 16, 2016

One usually starts out installing imagemagick for converting or resizing photos.

brew update && brew upgrade && brew install imagemagick

However, converting RAW pictures might throw an error:

$ convert -depth 16 -size 366x275  IMG_6520.CR2 image.jpg

convert: delegate failed `"ufraw-batch" --silent --create-id=also
--out-type=png --out-depth=16 "--output=%u.png" "%i"' @
 convert: unable to open image `/var/tmp/magick-63323_sbBHCIgS67y.ppm': No
 such file or directory @ error/blob.c/OpenBlob/2702.
 convert: no images defined `image.jpg' @

You need libraries for imagemagick to parse the RAW images.

brew install ufraw

I have been able to successfully convert RAW images from Panasonic LX7 and Canon 1000D after getting those libraries.