Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Create image from pixel values with Imager

by Anonymous Monk
on May 17, 2022 at 12:39 UTC ( [id://11143943]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Create image from pixel values with Imager
in thread Create image from pixel values with Imager

> Do you perhaps want to start with "65536 values from 0-255"?

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.

  • Comment on Re^4: Create image from pixel values with Imager

Replies are listed 'Best First'.
Re^5: Create image from pixel values with Imager
by Anonymous Monk on May 17, 2022 at 13:24 UTC
    Heres an idea, don't use data option

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143943]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-12 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found