Click or drag to resize

AtalaImageCompressorCompress Method

Compresses the specified object to the stored stream provided.

Namespace:  Atalasoft.dotImage.PdfDoc.Bridge
Assembly:  Atalasoft.dotImage.PdfDoc.Bridge (in Atalasoft.dotImage.PdfDoc.Bridge.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public virtual PdfCompressedImageStreamProvider Compress(
	Object o,
	IStoredStreamProvider streamProvider,
	PdfImageCompression compression
)

Parameters

o
Type: SystemObject
The object to compress.
streamProvider
Type: Atalasoft.PdfDoc.Generating.ResourceHandling.ImagesIStoredStreamProvider
The stream provider.
compression
Type: Atalasoft.PdfDoc.Generating.ResourceHandling.ImagesPdfImageCompression
The compression settings to use.

Return Value

Type: PdfCompressedImageStreamProvider
A compressed image stream provider with the compressed image data

Implements

IPdfImageCompressorCompress(Object, IStoredStreamProvider, PdfImageCompression)
See Also