in reply to Re: How to create and save an image from RGB values
in thread How to create and save an image from RGB values
How about the PPM format? It's as simple as e.g. "P6 640 480 255\n" followed by the raw RGB binary data. It can be transformed by ImageMagick to any desired format.
Alternatively, see the write_to_scalar example in Image::PNG::Libpng.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How to create and save an image from RGB values
by LanX (Saint) on Dec 28, 2021 at 00:59 UTC |
In Section
Seekers of Perl Wisdom