![]() |
|
more useful options | |
PerlMonks |
Re^3: Create image from pixel values with Imagerby kcott (Archbishop) |
on May 17, 2022 at 08:25 UTC ( #11143935=note: print w/replies, xml ) | Need Help?? |
Without more information, I can only guess, but it sounds like an off-by-one error. In your OP: "65536 values from 0-254". That suggests a 255x255 square which is 65025 values; a 256x256 square is 65536 values. Do you perhaps want to start with "65536 values from 0-255"? Update: s/off-by-error/off-by-one error/ — Ken
In Section
Seekers of Perl Wisdom
|
|