GRB RAW image support?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
one_half_3544
Posts: 1
Joined: 2011-08-26T01:46:44-07:00
Authentication code: 8675308

GRB RAW image support?

Post 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.
Post Reply