Click or drag to resize

AtalaJpegStreamCompressorCompress Method

Compresses the specified object.

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 PdfCompressedImageStreamProvider Compress(
	Object o,
	IStoredStreamProvider streamProvider,
	PdfImageCompression compression
)

Parameters

o
Type: SystemObject
The o.
streamProvider
Type: Atalasoft.PdfDoc.Generating.ResourceHandling.ImagesIStoredStreamProvider
The stream provider for image data.
compression
Type: Atalasoft.PdfDoc.Generating.ResourceHandling.ImagesPdfImageCompression
The compression information to use.

Return Value

Type: PdfCompressedImageStreamProvider
A PdfCompressedStreamProvider for this image

Implements

IPdfImageCompressorCompress(Object, IStoredStreamProvider, PdfImageCompression)
Remarks
This is a pass-through for JPEG image data. The JPEG image data is passed through as is with the exception that JPEG markers are stripped out since they are not valid within PDF files
See Also