A JavaScript constructor function or 'class' for validating the dimensions of an image from a file input. This relies on FileReader.