Functions for pictures: the width and height of an image, scaling an image, and getting image data for use in HTML.