TiffImageContent

Inheritance: java.lang.Object, com.groupdocs.watermark.contents.ContentPart, com.groupdocs.watermark.contents.Content, com.groupdocs.watermark.contents.ImageContent, com.groupdocs.watermark.contents.MultiframeImageContent

public class TiffImageContent extends MultiframeImageContent

Represents a tiff image where a watermark can be placed.

Constructors

Constructor Description
TiffImageContent(StreamContainer stream, StrategyManager strategyManager, TiffImageLoadOptions tiffImageLoadOptions, WatermarkerSettings watermarkerSettings)

Methods

Method Description
performSave(String filePath)
performSave(OutputStream stream)
add(Watermark watermark, WatermarkOptions options)
generatePreview(PreviewOptions previewOptions)

TiffImageContent(StreamContainer stream, StrategyManager strategyManager, TiffImageLoadOptions tiffImageLoadOptions, WatermarkerSettings watermarkerSettings)

public TiffImageContent(StreamContainer stream, StrategyManager<Integer> strategyManager, TiffImageLoadOptions tiffImageLoadOptions, WatermarkerSettings watermarkerSettings)

Parameters:

Parameter Type Description
stream StreamContainer
strategyManager com.groupdocs.watermark.internal.StrategyManager<java.lang.Integer>
tiffImageLoadOptions TiffImageLoadOptions
watermarkerSettings WatermarkerSettings

performSave(String filePath)

public void performSave(String filePath)

Parameters:

Parameter Type Description
filePath java.lang.String

performSave(OutputStream stream)

public void performSave(OutputStream stream)

Saves the content to the specified stream.

Parameters:

Parameter Type Description
stream java.io.OutputStream

add(Watermark watermark, WatermarkOptions options)

public void add(Watermark watermark, WatermarkOptions options)

Parameters:

Parameter Type Description
watermark Watermark
options WatermarkOptions

generatePreview(PreviewOptions previewOptions)

public void generatePreview(PreviewOptions previewOptions)

Parameters:

Parameter Type Description
previewOptions PreviewOptions