UNPKG

asposewordscloud

Version:
51 lines (50 loc) 1.57 kB
import { AttributeInfo } from '../internal/attributeInfo'; import { ImageSaveOptionsData } from './imageSaveOptionsData'; export declare const importsMapTiffSaveOptionsData: { ImageSaveOptionsData: typeof ImageSaveOptionsData; }; /** * Container class for tiff save options. */ export declare class TiffSaveOptionsData extends ImageSaveOptionsData { /** * Attribute type map */ static attributeTypeMap: Array<AttributeInfo>; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets the threshold that determines the value of the binarization error in the Floyd-Steinberg method. when ImageBinarizationMethod is ImageBinarizationMethod.FloydSteinbergDithering. * Default value is 128. */ thresholdForFloydSteinbergDithering: number; /** * Gets or sets the method used while converting images to 1 bpp format. */ tiffBinarizationMethod: TiffSaveOptionsData.TiffBinarizationMethodEnum; /** * Gets or sets the type of compression. */ tiffCompression: TiffSaveOptionsData.TiffCompressionEnum; constructor(init?: Partial<TiffSaveOptionsData>); collectFilesContent(_resultFilesContent: Array<any>): void; validate(): void; } /** * Enums for TiffSaveOptionsData */ export declare namespace TiffSaveOptionsData { enum TiffBinarizationMethodEnum { Threshold, FloydSteinbergDithering } enum TiffCompressionEnum { None, Rle, Lzw, Ccitt3, Ccitt4 } }