Exactly (but my data doesn't have any 255 value, 254 is highest). I don't think that's the problem because ImageMagick can convert the packed array to an image and it looks good. I don't know much about image formats or binary data. I learned that the array has to be packed like that by digging in this source code for Image::BMP.
In reply to Re^4: Create image from pixel values with Imager
by Anonymous Monk
in thread Create image from pixel values with Imager
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |