[magick-users] Loading Raw Image in ImageMagicK

duc.sequere.aut.de.via.decede at imagemagick.org duc.sequere.aut.de.via.decede at imagemagick.org
Sun Sep 27 07:20:42 PDT 2009


> I have a 2D floating point array of size 200 by 300 and its a gray scale

Try this:

  convert -size 200x200 -depth 32 -define quantum:format=floating-point \
    gray:myimage image.jpg

for example.  You may need to specify the -endian option as well.


More information about the Magick-users mailing list