The Dimension class is simply provided as a convenient way of representing an image's dimensions in and , and possibly other attributes, such as colour depth.