1. GroupDocs.Watermark
  2. /
  3. GroupDocs.Watermark for Java
  4. /
  5. com.groupdocs.watermark.contents
  6. /
  7. GifImageContent

GifImageContent

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 final class GifImageContent extends MultiframeImageContent

Represents a gif image where a watermark can be placed.

Constructors

Methods

GifImageContent(StreamContainer stream, StrategyManager strategyManager, GifImageLoadOptions gifImageLoadOptions, WatermarkerSettings watermarkerSettings)

public GifImageContent(StreamContainer stream, StrategyManager<Integer> strategyManager, GifImageLoadOptions gifImageLoadOptions, WatermarkerSettings watermarkerSettings)

Parameters:

Parameter Type Description
stream StreamContainer
strategyManager com.groupdocs.watermark.internal.StrategyManager<java.lang.Integer>
gifImageLoadOptions GifImageLoadOptions
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)

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