GifImageContent
Contents
[
Hide
]
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
| Constructor | Description |
|---|---|
| GifImageContent(StreamContainer stream, StrategyManager |
Methods
| Method | Description |
|---|---|
| performSave(String filePath) | |
| performSave(OutputStream stream) | |
| add(Watermark watermark, WatermarkOptions options) | |
| generatePreview(PreviewOptions previewOptions) |
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 |