rawpy.
ImageSizes
Create new instance of ImageSizes(raw_height, raw_width, height, width, top_margin, left_margin, iheight, iwidth, pixel_aspect, flip)
Thumbnail
Create new instance of Thumbnail(format, data)