Page 1 of 1
Create Image from array of data
Posted: 2007-09-04T01:49:56-07:00
by dudyalas
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.
Re: Create Image from array of data
Posted: 2007-09-04T06:23:04-07:00
by anthony
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'.