Any suggestions for a Module/Code snippet to count the number of pixels in a giff/png/whatever? Well, most likely gif or png. FYI: the application I'm writing this for is one which will go through a collection of images, all of which are cut-outs from a main image, and compare the number of pixels in said image to the total number of pixels in the origional image, and hence allow me to estimate the percent cover of the cut-out piece from the whole.
  And yes, for those of you who have followed my previous quandries on perlmonks, this is to estimate the percentage cover of sessile marine invertebrates from digital photo quadrats.