Page 1 of 1

GRB RAW image support?

Posted: 2011-08-26T02:02:31-07:00
by one_half_3544
Hi!

I have files in GRB (line-interlaced) format. Running
display -size <width>x<height> -depth 8 -interlace line grb:image.raw
results in:
display: no decode delegate for this image format `image.raw' @ error/constitute.c/ReadImage/532.
Adding
<coder magick="GRB" name="RGB"/>
to coder.xml (to codermap section) does not help. (Anyway, is it that clever to get proper channel sequence from name?)
I use ImageMagick 6.6.9-7 from Debian Wheezy.

I'm able to swap the channels and view image using rgb format after:
convert -respect-parenthesis -size <width>x<height> -depth 8 -interlace line rgb:image.raw -separate -swap 2,1 -channel rgb -combine fixed_image.raw
but I want to know how to omit conversion step and use 'display' directly.