Publisher to Image REST API

The API for converting Publisher documents to Images. These file formats pub can be converted to png, jpg, tif.

Sign In

Endpoints

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

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: pub

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

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