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 are compressed, so you'll have to decompress them before you can get the RGB values, which is not an easy task. I think there are GNU libraries for it, but I'm not sure.
HTH. - B __________________ 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 Perl and around on the Internet but I have not been able to find a method of doing what I want to do. I'd like to make the program as platform and image independent as possible, hence me trying it in Perl. Could any point me in the right direction or provide a few hints? Thanks, Chris. -- Chris Egan [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]