I have array of data r[0:325] , g[0:325] , b[0:325] How do we write a image (JPG or BMP) or any other format with these available data .
Preferable: command line option.
Create Image from array of data
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Create Image from array of data
Create a Enumerated Pixel Image....
See IM Examples
http://www.imagemagick.org/Usage/files/#txt
It is very easy to print this.
You can also generate NetPBM image formats whcih is also a simple and straight forward format. Follow the lines from the above for this 'alturnative'.
See IM Examples
http://www.imagemagick.org/Usage/files/#txt
It is very easy to print this.
You can also generate NetPBM image formats whcih is also a simple and straight forward format. Follow the lines from the above for this 'alturnative'.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/