ConvertOptions

Format specific convert options

xls, xlsx, xlsx, xlsm, xlsb, xlsb, ods, xltx, xltm, tsv

PropertiesDescription
formatConvert format
passwordDocument password
zoomDocument zoom
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "{format}",
  "password": "Pass123",
  "zoom": 100,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

csv

PropertiesDescription
formatConvert format
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
{
  "format": "{format}",
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

html

PropertiesDescription
formatConvert format
fixedLayoutDocument password
zoomDocument zoom
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "{format}",
  "fixedLayout": true,
  "zoom": 100,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

png, gif, bmp, ico

PropertiesDescription
formatConvert format
widthWidth of image after conversion
heightHeight of image after conversion
horizontalResolutionDesired image horizontal resolution after conversion.
verticalResolutionDesired image vertical resolution after conversion.
grayscaleConvert to grayscale image
rotateAngleImage conversion angle
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "{format}",
  "width": 1920,
  "height": 1080,
  "horizontalResolution":96,
  "verticalResolution": 72,
  "grayscale": false,
  "rotateAngle": 0,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

jpg, jpeg, jp2

PropertiesDescription
formatConvert format
widthWidth of image after conversion
heightHeight of image after conversion
horizontalResolutionDesired image horizontal resolution after conversion.
verticalResolutionDesired image vertical resolution after conversion.
qualityDesired image quality when converting to Jpeg
grayscaleConvert to grayscale image
rotateAngleImage conversion angle
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "{format}",
  "width": 1920,
  "height": 1080,
  "horizontalResolution":96,
  "verticalResolution": 72,
  "quality": 95,
  "grayscale": false,
  "rotateAngle": 0,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

tiff, tif

PropertiesDescription
formatConvert format
widthWidth of image after conversion
heightHeight of image after conversion
horizontalResolutionDesired image horizontal resolution after conversion.
verticalResolutionDesired image vertical resolution after conversion.
compressionTiff compression
grayscaleConvert to grayscale image
rotateAngleImage conversion angle
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "{format}",
  "width": 1920,
  "height": 1080,
  "horizontalResolution":96,
  "verticalResolution": 72,
  "compression": "lzw",
  "grayscale": false,
  "rotateAngle": 0,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

psd

PropertiesDescription
formatConvert format
widthWidth of image after conversion
heightHeight of image after conversion
horizontalResolutionDesired image horizontal resolution after conversion.
verticalResolutionDesired image vertical resolution after conversion.
channelBitsCountBits count per color channel
channelsCountColor channels count
colorModePsd color mode
compressionMethodPsd compression method
versionPsd file version
grayscaleConvert to grayscale image
rotateAngleImage conversion angle
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "psd",
  "width": 1920,
  "height": 1080,
  "horizontalResolution":96,
  "verticalResolution": 72,
  "channelBitCount": 32,
  "channelsCount": 3,
  "colorMode": "rgb",
  "compressionMethod": "rle",
  "version": 12,
  "grayscale": false,
  "rotateAngle": 0,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

webp

PropertiesDescription
formatConvert format
widthWidth of image after conversion
heightHeight of image after conversion
horizontalResolutionDesired image horizontal resolution after conversion.
verticalResolutionDesired image vertical resolution after conversion.
losslessUse lossless compression
grayscaleConvert to grayscale image
rotateAngleImage conversion angle
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "webp",
  "width": 1920,
  "height": 1080,
  "horizontalResolution":96,
  "verticalResolution": 72,
  "lossless": true,
  "grayscale": false,
  "rotateAngle": 0,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

svg

PropertiesDescription
formatConvert format
widthWidth of image after conversion
heightHeight of image after conversion
grayscaleConvert to grayscale image
rotateAngleImage conversion angle
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "svg",
  "width": 1920,
  "height": 1080,
  "grayscale": false,
  "rotateAngle": 0,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

pdf

PropertiesDescription
formatConvert format
widthWidth of image after conversion
heightHeight of image after conversion
dpiDocument DPI
passwordDocument password
marginTopDocument top margin
marginBottomDocument bottom margin
marginLeftDocument left margin
marginRightDocument right margin
pdfFormatDocument pdf format
removePdfAComplianceRemove Pdf-A compliance
zoomDocument zoom level
linearizeLinearize document
linkDuplicateStreamsLink duplicate streams
removeUnusedObjectsRemove unused objects
removeUnusedStreamsRemove unused streams
compressImagesCompress all images to specified image quality
imageQualityImage quality
unembedFontsMake fonts not embedded
grayscaleConvert to grayscale pdf
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "pdf",
  "width": 1920,
  "height": 1080,
  "dpi": 96,
  "password": "Pass123",
  "marginTop": 0,
  "marginBottom": 0,
  "marginLeft": 0,
  "marginRight: 0,
  "pdfFormat": "v1.3",
  "removePdfACompliance": false,
  "zoom": 100,
  "linearize": true,
  "linkDuplicateStreams": true,
  "removeUnusedObjects": true,
  "removeUnusedStreams": true,
  "compressImages": true,
  "imageQuality": 80,
  "unembedFonts": false,
  "grayscale": false,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

epub, xps

PropertiesDescription
formatConvert format
widthWidth of image after conversion
heightHeight of image after conversion
dpiDocument DPI
passwordDocument password
marginTopDocument top margin
marginBottomDocument bottom margin
marginLeftDocument left margin
marginRightDocument right margin
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "{format}",
  "width": 1920,
  "height": 1080,
  "dpi": 96,
  "password": "Pass123",
  "marginTop": 0,
  "marginBottom": 0,
  "marginLeft": 0,
  "marginRight: 0,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

ppt, pps, pptx, ppsx, odp, potx, potm, pptm, ppsm

PropertiesDescription
formatConvert format
passwordDocument password
zoomDocument zoom
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
usePdfUse pdf as intermediate format
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "{format}",
  "password": "Pass123",
  "zoom": 100,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

doc, docm, docx, dot, dotm, dotx, odt, ott

PropertiesDescription
formatConvert format
widthDocument page width
heightDocument page height
dpiDocument page DPI
passwordDocument password
zoomDocument zoom
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "{format}",
  "width": 1920,
  "height": 1080,
  "dpi": 96,
  "password": "Pass123",
  "zoom": 100,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

rtf

PropertiesDescription
formatConvert format
widthDocument page width
heightDocument page height
dpiDocument page DPI
passwordDocument password
exportImagesForOldReaderExport images for old reader
zoomDocument zoom 
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
watermarkOptionsWatermark options to be applied during conversion
{
  "format": "rtf",
  "width": 1920,
  "height": 1080,
  "dpi": 96,
  "password": "Pass123",
  "exportImagesForOldReaders: false,
  "zoom": 100,
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
  "watermarkOptions": [{options}]
}

txt

PropertiesDescription
formatConvert format
fromPageStart conversion from specified page number
pagesCountConvert pagesCount from specified page
pagesAn array with set of pages to be converted
{
  "format": "txt",
  "fromPage": 1,
  "pagesCount": 10,
  "pages": [2,4,6],
  "usePdf": false,
}

watermarkOptions

PropertyDescriptionJson
textWatermark text
fontWatermark font name
colorWatermark color
widthWatermark width
heightWatermark height
topWatermark top position
leftWatermark left position
rotationAngleWatermark rotation angle
transparencyWatermark transparency
backgroundIndicates that the watermark is stamped as background.
imageImage watermark
{
  "text": "Watermark",
  "font": "Arial",
  "color": "red",
  "width": 1920,
  "height": 1080,
  "top": 0,
  "left: 0,
  "rotationAngle": 45,
  "transparency": 0.5,
  "background": true,
  "image":  null
}