Convert Document to TIFF
Converts a document to TIFF format using detailed conversion settings.
Convert Word document to TIFF format REST API
Server | Method | Endpoint |
---|---|---|
https://api.aspose.cloud/v4.0 | PUT | /words/online/put/saveAs/tiff |
You can use the following parameters in a REST request:
Parameter Name | Data Type | Required/Optional | Description |
---|---|---|---|
loadEncoding |
string | Optional | Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML. |
password |
string | Optional | Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don’t recommend to use the parameter to pass a plain password for direct call of API. |
encryptedPassword |
string | Optional | Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details. |
useAntiAliasing |
boolean | Optional | The flag indicating whether to use antialiasing. |
useHighQualityRendering |
boolean | Optional | The flag indicating whether to use high quality. |
imageBrightness |
number(double) | Optional | The level of brightness for the generated images. |
imageColorMode |
string | Optional | The color mode for the generated images. |
imageContrast |
number(double) | Optional | The contrast for the generated images. |
numeralFormat |
string | Optional | The images numeral format. |
pageCount |
integer(int32) | Optional | The number of pages to render. |
pageIndex |
integer(int32) | Optional | The index of the page to start rendering. |
paperColor |
string | Optional | The background image color. |
pixelFormat |
string | Optional | The pixel format of the generated images. |
resolution |
number(double) | Optional | The resolution of the generated images. |
scale |
number(double) | Optional | The zoom factor for the generated images. |
tiffCompression |
string | Optional | The compression tipe. |
dmlRenderingMode |
string | Optional | The optional dml rendering mode. The default value is Fallback. |
dmlEffectsRenderingMode |
string | Optional | The optional dml effects rendering mode. The default value is Simplified. |
tiffBinarizationMethod |
string | Optional | The optional TIFF binarization method. Possible values are: FloydSteinbergDithering, Threshold. |
zipOutput |
boolean | Optional | The flag indicating whether to ZIP the output. |
fontsLocation |
string | Optional | Folder in filestorage with custom fonts. |
Use $multipart/form-data
request to combine one or more properties into a single body:
Property Name | Data Type | Required/Optional | Description |
---|---|---|---|
document |
string(binary) | Required | The document. |
saveOptions |
TiffSaveOptionsData | Required | Tiff save options. |
Convert Word document to TIFF format usage examples
Let’s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.
How to convert Word document to TIFF format with cURL or Postman
One of the easiest and fastest ways to call a REST API is to use cURL or Postman:
How to convert Word document to TIFF format in Python, Java, C#, C++, JavaScript and other programming languages
Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:
See Also
- GitHub repository — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.