public final class TiffSettings extends Object
This class represents settings for importing pdf to Tiff.
| Modifier and Type | Class and Description |
|---|---|
static class |
TiffSettings.IndexedConversionType
Class represented indexed conversion types
|
| Constructor and Description |
|---|
TiffSettings()
Initializes a new instance of the
TiffSettings class. |
TiffSettings(boolean skipBlankPages)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(ColorDepth colorDepth)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(CompressionType compressionType)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(CompressionType compressionType,
ColorDepth colorDepth,
Margins margins)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(CompressionType compressionType,
ColorDepth colorDepth,
Margins margins,
boolean skipBlankPages)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(CompressionType compressionType,
ColorDepth colorDepth,
Margins margins,
boolean skipBlankPages,
ShapeType shapeType)
Initializes a new instance of the
TiffSettings class. |
TiffSettings(Margins margins)
Initializes a new instance of the
TiffSettings class. |
| Modifier and Type | Method and Description |
|---|---|
float |
getBrightness()
Get value boundary of the transformation of colors in white and black.
|
CompressionType |
getCompression()
Gets the type of the compression.
|
PageCoordinateType |
getCoordinateType()
Gets the page coordinate type (Media/Crop boxes).
|
ColorDepth |
getDepth()
Gets the color depth.
|
int |
getIndexedConversionType()
Gets the IndexedConversionType.
|
Margins |
getMargins()
Gets the margins.
|
ShapeType |
getShape()
Gets the type of the shape.
|
boolean |
getSkipBlankPages()
Gets a value indicating whether to skip blank pages.
|
boolean |
isUseAlternativeImageEngine()
Gets a flag determines whether alternative imaging engine is used or not.
|
void |
setBrightness(float value)
Set value boundary of the transformation of colors in white and black.
|
void |
setCompression(CompressionType value)
Sets the type of the compression.
|
void |
setCoordinateType(PageCoordinateType value)
Sets the page coordinate type (Media/Crop boxes).
|
void |
setDepth(ColorDepth value)
Gets the color depth.
|
void |
setIndexedConversionType(int value)
Sets the IndexedConversionType.
|
void |
setShape(ShapeType value)
Sets the type of the shape.
|
void |
setSkipBlankPages(boolean value)
Sets a value indicating whether to skip blank pages.
|
void |
setUseAlternativeImageEngine(boolean useAlternativeImageEngine)
Sets a flag determines whether alternative imaging engine is used or not.
|
public TiffSettings()
Initializes a new instance of the TiffSettings class.
public TiffSettings(CompressionType compressionType)
Initializes a new instance of the TiffSettings class.
compressionType - Type of the compression.CompressionTypepublic TiffSettings(ColorDepth colorDepth)
Initializes a new instance of the TiffSettings class.
colorDepth - The color depth.public TiffSettings(Margins margins)
Initializes a new instance of the TiffSettings class.
margins - The margins.public TiffSettings(CompressionType compressionType, ColorDepth colorDepth, Margins margins)
Initializes a new instance of the TiffSettings class.
compressionType - Type of the compression.colorDepth - The color depth.margins - The margins.CompressionTypepublic TiffSettings(CompressionType compressionType, ColorDepth colorDepth, Margins margins, boolean skipBlankPages)
Initializes a new instance of the TiffSettings class.
compressionType - Type of the compression.colorDepth - The color depth.margins - The margins.skipBlankPages - if set to true need to skip blank pagesCompressionType,
ColorDepthpublic TiffSettings(CompressionType compressionType, ColorDepth colorDepth, Margins margins, boolean skipBlankPages, ShapeType shapeType)
Initializes a new instance of the TiffSettings class.
compressionType - Type of the compression.colorDepth - The color depth.margins - The margins.skipBlankPages - if set to true need to skip blank pages.shapeType - Type of the shape.CompressionTypepublic TiffSettings(boolean skipBlankPages)
Initializes a new instance of the TiffSettings class.
skipBlankPages - if set to true [skip blank pages].public int getIndexedConversionType()
Gets the IndexedConversionType. Default value is Simple.
TiffSettings.IndexedConversionTypepublic void setIndexedConversionType(int value)
Sets the IndexedConversionType.
value - IndexedConversionType elementTiffSettings.IndexedConversionTypepublic Margins getMargins()
Gets the margins.
public boolean getSkipBlankPages()
Gets a value indicating whether to skip blank pages.
Value:true if need to skip blank pages; otherwise, false.
Default value is false
public void setSkipBlankPages(boolean value)
Sets a value indicating whether to skip blank pages.
Value:true if need to skip blank pages; otherwise, false.
Default value is false
value - boolean valuepublic CompressionType getCompression()
Gets the type of the compression.
Value: The type of the compression.Default value is CompressionType.LZW
CompressionTypepublic void setCompression(CompressionType value)
Sets the type of the compression.
Value: The type of the compression.Default value is CompressionType.LZW
value - CompressionType elementCompressionTypepublic ColorDepth getDepth()
Gets the color depth.
Value: The color depth.Default value is ColorDepth.Default
ColorDepthpublic void setDepth(ColorDepth value)
Gets the color depth.
Value: The color depth.Default value is ColorDepth.Default
value - ColorDepth elementColorDepthpublic ShapeType getShape()
Gets the type of the shape.
Value: The type of the shape.Default value is ShapeType.None
ShapeTypepublic void setShape(ShapeType value)
Sets the type of the shape.
Value: The type of the shape.Default value is ShapeType.None
value - ShapeType elementShapeTypepublic float getBrightness()
Get value boundary of the transformation of colors in white and black. This parameter can be applied with EncoderValue.CompressionCCITT4, EncoderValue.CompressionCCITT3, EncoderValue.CompressionRle or ColorDepth.Format1bpp == 1
public void setBrightness(float value)
Set value boundary of the transformation of colors in white and black. This parameter can be applied with EncoderValue.CompressionCCITT4, EncoderValue.CompressionCCITT3, EncoderValue.CompressionRle or ColorDepth.Format1bpp == 1
value - : Value of brightness should be in the range from 0 to 1. By default value is equal to 0.33fpublic PageCoordinateType getCoordinateType()
Gets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
PageCoordinateTypepublic void setCoordinateType(PageCoordinateType value)
Sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
value - PageCoordinateTypePageCoordinateTypepublic boolean isUseAlternativeImageEngine()
Gets a flag determines whether alternative imaging engine is used or not. True value is used by default for Linux OS. For Windows OS default value is false.
public void setUseAlternativeImageEngine(boolean useAlternativeImageEngine)
Sets a flag determines whether alternative imaging engine is used or not.
useAlternativeImageEngine - boolean valueCopyright © 2025 Aspose. All Rights Reserved.