Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I convert CRW format images to JPG or PNG via terminal. tried convert and mogrify with no luck. It gave a weird corrupted error while processing the CRW files but I can view them fine using Shotwell for example.

share|improve this question
up vote 2 down vote accepted

Imagemagick, according to, supports CRW (Canon Raw Image Format), which as such should work with convert.

$ convert source.crw target.jpg

If this does not work there are two options:

  1. Your source image is corrupted
  2. Imagemagicks support of crw is flawed,

in which case you should report a bug at

share|improve this answer
you are correct. It is flawed. I will report the bug thanks. – Luis Alvarado May 12 '12 at 22:54

I believe "ufraw" should allow you to convert them with a GUI or via command line with the ufraw-batch command.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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