Hi,
I have width, height and string with RGB values for all pixels for one image($width,$height and $pixelString) . How can I create image from these values using ImageMagick?
String of pixels to image
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
See the imagemagick 'txt:' enumerated pixel format...
http://www.cit.gu.edu.au/~anthony/graph ... files/#txt
this lets you feed a stream of pixels, one line per pixel, to create the image from.
You can also feed the pixels (in sequence) using a netPBM format (text or binary)
http://www.cit.gu.edu.au/~anthony/graph ... ts/#netpbm
http://www.cit.gu.edu.au/~anthony/graph ... files/#txt
this lets you feed a stream of pixels, one line per pixel, to create the image from.
You can also feed the pixels (in sequence) using a netPBM format (text or binary)
http://www.cit.gu.edu.au/~anthony/graph ... ts/#netpbm
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/