Click or drag to resize

IPdfImageCompressorCompress Method

Compresses the specified o.

Namespace:  Atalasoft.PdfDoc.Generating.ResourceHandling.Images
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
PdfCompressedImageStreamProvider Compress(
	Object o,
	IStoredStreamProvider streamProvider,
	PdfImageCompression compression
)

Parameters

o
Type: SystemObject
The o.
streamProvider
Type: Atalasoft.PdfDoc.Generating.ResourceHandling.ImagesIStoredStreamProvider
The stream provider.
compression
Type: Atalasoft.PdfDoc.Generating.ResourceHandling.ImagesPdfImageCompression
The compression.

Return Value

Type: PdfCompressedImageStreamProvider
A stream provider representing the compressed image data.
See Also