Excel to Image REST API

The API for converting Excel documents to Images. These file formats csv, xls, xlsb, xlsx, xlt, xltx can be converted to png, jpg, tif.

Sign In

Endpoints

POST https://do.convertapi.com/Excel2Image

Authentication Parameters

Parameter Description Value
ApiKey

Required

Number

API Key must be passed to authenticate API call. Get your own free ApiKey on http://www.convertapi.com/a

Input Parameters

Parameter Description Value
File

Required

Binary

Supported source file formats: csv, xls, xlsb, xlsx, xlt, xltx

Parameters

Parameter Description Value
AlternativeParser

Optional

Boolean

If some objects are missing in converted Pdf files from original source files this option can be enabled to improve conversion. The option process files much slower and should be disabled by default.

Default: false

WorksheetIndex

Optional

Number

Set worksheet index(number) to convert. If value is not set all worksheet will be converted.

WorksheetName

Optional

String

Set worksheet name to convert. If value is not set all worksheet will be converted.

WorksheetActive

Optional

Boolean

Set to convert active worksheet. If value is not set all worksheet will be converted.

OutputFormat

Optional

Collection

Supported output file formats png, jpg, tif. If output format is set to png or jpg a image file will be created for every converted document page and returned as zip file.

Default: tif

JpgQuality

Optional

Number

Jpg image quality.

Default: 70 (1 ... 100)

ImageResolutionH

Optional

Number

Image horizontal resolution (DPI).

Default: 300 (72 ... 1200)

ImageResolutionV

Optional

Number

Image vertical resolution (DPI).

Default: 300 (72 ... 1200)

StoreFile

Optional

Boolean

Store file on server and return url to file instead of file stream response. File will be available for 24 hours.

Default: false

Timeout

Optional

Number

Conversion timeout in seconds.

Default: 300 (5 ... 1200)

OutputFileName

Optional

String

Converted output file name. If parameter is not set the filename will be generated automatically.

Output Headers

Output Response