I am trying to use perl to find out what the average rgb value is for an image. I would like to be able to get a hex value like FF4422 out as the result if possible. I also imagine that I will have to use image::magick. But I am all ears to any way of getting this done. I have found snippets about getting a alue for a pixel here, but not an image.
So, anyone know how to get an average rgb value out of a .gif file using perl?