Re: Building an image one pixel at a time

2011-03-30 Thread Shawn H Corey
On 11-03-30 03:29 PM, Bryan R Harris wrote: I don't have any yet. I was just wondering if there was a module that would write out .png files reliably... There's a number of them. Try GD to start. http://search.cpan.org/~lds/GD-2.45/GD.pm -- Just my 0.0002 million dollars worth, Shawn

Re: Building an image one pixel at a time

2011-03-30 Thread Bryan R Harris
> On 11-03-30 11:36 AM, Bryan R Harris wrote: >> >> >> All, >> >> Is it possible to build an image one pixel at a time, e.g. to have a data >> structure that looks like this: >> >> $i{channel}[x][y] >> >> ... where channel is r,g,b, or a, and x and y are the pixel coordinates. >> Then, once

Re: Building an image one pixel at a time

2011-03-30 Thread Shawn H Corey
On 11-03-30 11:36 AM, Bryan R Harris wrote: All, Is it possible to build an image one pixel at a time, e.g. to have a data structure that looks like this: $i{channel}[x][y] ... where channel is r,g,b, or a, and x and y are the pixel coordinates. Then, once I have the data filled out, call so