Convert Word document to TIFF image format

Aspose.Words Cloud API includes a SaveAsTiffOnline method that allows developers to convert a Word document to the TIFF image format using detailed conversion settings.

The TIFF (Tagged Image File Format) format is a widely used graphics format. One of the key features of the TIFF format is its ability to support multiple pages. This makes it a popular choice when working with documents such as multi-page drawings, photographs, and scanned documents. TIFF files can also be saved in a variety of color depths, including grayscale, which makes it a versatile format for a wide range of applications.

Another advantage of the TIFF format is its support for lossless compression. When a TIFF image is compressed, no information is lost, and the image can be restored to its original quality. This feature makes the TIFF format ideal for archiving and editing images, as well as for high-quality printing. Compared to other image formats such as JPG and PNG, TIFF is a more suitable for printing, as it supports CMYK color model while JPG and PNG support RGB.

Convert Word document to TIFF image format REST API

Server: https://api.aspose.cloud/v4.0

Method Endpoint
PUT /words/online/put/saveAs/tiff
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.

Response

Response model: SaveResponse

Field Type Description
Model SaveResponse The REST response with a save result.
Document FilesCollection The document after modification.

Error reference

Status Code Description Resolution
400 bad_request Invalid parameter value or missing required field Check the parameter format and ensure all required fields are provided
401 unauthorized Missing or invalid access token Obtain a new access token via the authentication endpoint
403 forbidden Access to the requested resource is denied Verify that the access token has the required permissions
404 not_found The requested resource does not exist Check the resource ID or path for typos
429 rate_limited Too many requests — rate limit exceeded Wait for the Retry-After period before making another request
500 internal_error An unexpected server error occurred Retry the request after a short delay; contact support if the issue persists

Usage examples

REST API

SDK

See Also

  • Cloud SDKs — Create, Edit, Convert and Render Word documents via REST API.