Transaction System API

TiffBuilder

Builder defining TIFF settings.

Method Summary
File build()

Creates a multi-page TIFF image. Underlying PDF page count is restricted by the cloud max pdf page count

TiffBuilder reset()

Resets all settings

TiffBuilder rotate(float degrees)

Rotates this image by an angle provided in degrees. Image rotated clockwise if angle is a positive number and counter-clockwise if angle is a negative number

TiffBuilder setCompression(String compression)

Sets the compression.

TiffBuilder setDPI(int dpi)

Sets the DPI of the file.

TiffBuilder setFilename(String tiffFile)

Set the name of the file.

TiffBuilder setGrayscale(boolean grayscale)

Sets grayscale.

TiffBuilder setLittleEndian(boolean littleEndian)

Sets byte order to little endian.

String toString()

Returns a description of this object.

Method Detail


File build()

Creates a multi-page TIFF image. Underlying PDF page count is restricted by the cloud max pdf page count

Returns:  File

Since: 01-28-2013

top

TiffBuilder reset()

Resets all settings

Returns:  TiffBuilder

Since: 01-28-2013

top

TiffBuilder rotate(float degrees)

Rotates this image by an angle provided in degrees. Image rotated clockwise if angle is a positive number and counter-clockwise if angle is a negative number

Parameters:

  • float   degrees Required parameter. Maximum allowed size of parameter: 360

Returns:  TiffBuilder

Since: 02-01-2013

top

TiffBuilder setCompression(String compression)

Sets the compression.

Parameters:

  • String   compression Required parameter. Allowed values: LZW, CCITT RLE, CCITT T.6, CCITT T.4, JPEG, ZLib, PackBits, Deflate.

Returns:  TiffBuilder

Since: 01-28-2013

top

TiffBuilder setDPI(int dpi)

Sets the DPI of the file.

Parameters:

  • int   dpi  - DPI (dots per inch) of the resulting TIFF file. Max 300.. Required parameter. Maximum allowed size of parameter: 300

Returns:  TiffBuilder

Since: 01-28-2013

top

TiffBuilder setFilename(String tiffFile)

Set the name of the file.

Parameters:

  • String   tiffFile  - Name of the resulting TIFF file. Required parameter.

Returns:  TiffBuilder

Since: 01-28-2013

top

TiffBuilder setGrayscale(boolean grayscale)

Sets grayscale.

Parameters:

  • boolean   grayscale

Returns:  TiffBuilder

Since: 01-28-2013

top

TiffBuilder setLittleEndian(boolean littleEndian)

Sets byte order to little endian.

Parameters:

  • boolean   littleEndian

Returns:  TiffBuilder

Since: 01-28-2013

top

String toString()

Returns a description of this object.

Returns:  String

Since: 01-28-2013

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: May 01, 2024 05:15 AM