Use enum names, not integers directly
initialize image height and width from exif data