How can I convert CRW format images to JPG or PNG via terminal. tried
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.
Imagemagick, according to http://www.imagemagick.org/script/formats.php, supports CRW (Canon Raw Image Format), which as such should work with convert.
If this does not work there are two options:
in which case you should report a bug at http://www.imagemagick.org/discourse-server/.
I believe "ufraw" should allow you to convert them with a GUI or via command line with the ufraw-batch command.