An instance of ImageOptions is used as a parameter in PageImageArea.get_image_stream(ImageOptions) and PageImageArea.save(str, ImageOptions) methods. See the usage examples there.
It is used to specify the image format for image extraction.
fromgroupdocs.parserimportParserfromgroupdocs.parser.optionsimportImageOptions,ImageFormatparser=Parser("sample.docx")image_area=parser.get_images()[0]# Save images as JPEGoptions=ImageOptions(ImageFormat.JPEG)# Retrieve the image as a streamstream=image_area.get_image_stream(options)# Or save the image directly to a fileimage_area.save("output.jpg",options)