IM7 gets confused by .raw file names
Posted: 2016-12-18T16:55:48-07:00
IM7 seems to delegate RAW file processing to ufraw-batch. If that program fails, IM refuses to process any .raw file, even if it is an incorrectly named TIFF or JPEG. IM6 identified such files correctly as TIFF/JPEG.
The behaviour is the same regardless whether ufraw-batch fails to process the file or is not installed at all.
To reproduce:
- Rename a valid .jpg to .raw
- Run identify
IM6 (6.7.7):
$ identify test.raw
test.raw JPEG 800x533 800x533+0+0 8-bit DirectClass 249KB 0.000u 0:00.000
IM7 (7.0.3):
$ identify test.raw
identify: delegate failed `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 '--output=%u.png' '%i'' @ error/delegate.c/InvokeDelegate/1845.
identify: unable to open image '/tmp/magick-8414rwL-Yd8wupbN.ppm': file not found @ error/blob.c/OpenBlob/2695.
The behaviour is the same regardless whether ufraw-batch fails to process the file or is not installed at all.
To reproduce:
- Rename a valid .jpg to .raw
- Run identify
IM6 (6.7.7):
$ identify test.raw
test.raw JPEG 800x533 800x533+0+0 8-bit DirectClass 249KB 0.000u 0:00.000
IM7 (7.0.3):
$ identify test.raw
identify: delegate failed `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 '--output=%u.png' '%i'' @ error/delegate.c/InvokeDelegate/1845.
identify: unable to open image '/tmp/magick-8414rwL-Yd8wupbN.ppm': file not found @ error/blob.c/OpenBlob/2695.