Re: Reading RGB Values of Pixels in Images

2002-05-30 Thread Randal L. Schwartz
> "Chris" == Chris Egan <[EMAIL PROTECTED]> writes: Chris> I'm very new to Perl and have a question that I haven't been able to Chris> find an answer to. I want to be able to read an image file (BMP, PNG, Chris> JPEG, etc...) or a series if image files and read the RGB pixel values Chris> fro

Re: Reading RGB Values of Pixels in Images

2002-05-30 Thread Chris Egan
On Wed, 2002-05-29 at 19:52, Adam Morton wrote: > You want to "read the RGB pixel values from them and write these to a file"? > As was already pointed out, that is already what is in the file for some > graphics formats! Yes, I know. But I wanted a way to be format independent and was hoping

Re: Reading RGB Values of Pixels in Images

2002-05-30 Thread Chris Egan
On Wed, 2002-05-29 at 17:32, Bryan R Harris wrote: > I am by no means an expert, but you've got a big task on your hands. BMP > files will probably be the easiest, since they are stored - red, green, > blue, red, green, blue, , but there is header information you have to > get past, and you

Re: Reading RGB Values of Pixels in Images

2002-05-29 Thread Adam Morton
then loop through calling pixel and writing the results. - Original Message - From: "Chris Egan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 11:58 AM Subject: Reading RGB Values of Pixels in Images > > Hi, > > I'm very new to

Re: Reading RGB Values of Pixels in Images

2002-05-29 Thread Geoffrey F. Green
ImageMagick, perhaps? Or maybe Image::Info will do what you want (available from your local CPAN mirror). On 5/29/02 11:58 AM, "Chris Egan" <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm very new to Perl and have a question that I haven't been able to > find an answ

Reading RGB Values of Pixels in Images

2002-05-29 Thread Bryan R Harris
I am by no means an expert, but you've got a big task on your hands. BMP files will probably be the easiest, since they are stored - red, green, blue, red, green, blue, , but there is header information you have to get past, and you also have to figure out how long the rows are. PNG and JPG

Reading RGB Values of Pixels in Images

2002-05-29 Thread Chris Egan
Hi, I'm very new to Perl and have a question that I haven't been able to find an answer to. I want to be able to read an image file (BMP, PNG, JPEG, etc...) or a series if image files and read the RGB pixel values from them and write these to a file. I have looked at various image libraries for