undo this: ImageDimension moved to its own class.