Convert Excel to Image

Convert Excel to Image

Aspose.Cells for Python via Java supports converting Excel files to different image forms images. For this, the API provides the SheetRender and ImageOrPrintOptions classes. This class represents the worksheet that will be rendered to an image. The SheetRender class provides the toImage() method for converting a worksheet to an image file. BMP, PNG, JPEG, TIFF, and EMF formats are supported.

The following code snippet demonstrates converting an Excel worksheet to a PNG image.