whakka has asked for the wisdom of the Perl Monks concerning the following question:

Is there any way to take an image of a graph (example - external link) and store the (x,y) positions of the color contrasts to recreate the underlying data? I apologize if this is a silly question but I appreciate any input.
  • Comment on Script or Module to recreate underlying data from a graph/chart image

Replies are listed 'Best First'.
Re: Script or Module to recreate underlying data from a graph/chart image
by Corion (Patriarch) on Jan 11, 2008 at 17:12 UTC

    The Imager module has the ->getpixel() method which can read the colour value at a location in an image. I guess that all the other imaging modules (Image::Magick, GD,...) also have comparable routines, but I don't know them.

      Thanks Corion, this looks exactly like what I would need.