Click or drag to resize

AtalaImageCompressor Class

AtalaImageCompressor is a class that can be added to a PdfGeneratedDocuments Image Resources object to provide compression services for AtalaImage objects. This object will make
Inheritance Hierarchy

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 class AtalaImageCompressor : IPdfImageCompressor

The AtalaImageCompressor type exposes the following members.

Constructors
  NameDescription
Public methodAtalaImageCompressor
Initializes a new instance of the AtalaImageCompressor class.
Public methodAtalaImageCompressor(ImageEncoder, ImageEncoder)
Initializes a new instance of the AtalaImageCompressor class with default advanced compressors.
Top
Methods
  NameDescription
Public methodStatic memberAddImageResource
Utility method to add the image to the resources respecting the color profile of the image (if any). This method will throw a PDFException if AtalaImageCompressor was not added as a compressor in the passed GlobalResources parameter.
Public methodCanCompress
Determines whether this instance can compress the specified object.
Public methodCompress
Compresses the specified object to the stored stream provided.
Public methodStatic memberCreateDocument
This is a utility method to create a new PdfGeneratedDocument with an AtalaImageCompressor already installed. This also installs an AtalaJpegStreamCompressor which will allow pass-through of Stream objects which represent JPEG images without decoding/recompressing them.
Public methodStatic memberCreateDocument(ImageEncoder, ImageEncoder)
This is a utility method to create a new PdfGeneratedDocument with an AtalaImageCompressor already installed adding the ability to compress using JPEG2000 and/or JBIG2 compression.
Public methodStatic memberCreateImageShape
Utility method to create an image shape using the provided image. This method will throw a PDFException if AtalaImageCompressor was not added as a compressor in the passed GlobalResources parameter.
Public methodStatic memberCreateImageShapeAt
Utility method to create an image shape using the provided image. This method will throw a PDFException if AtalaImageCompressor was not added as a compressor in the passed GlobalResources parameter.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImageInformation
Gets the image information for the supplied image.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberImageSize
Returns the size of the image in PDF space, respecting resolution
Public methodStatic memberImageSizeAt
Returns the size of the image in PDF space, respecting resolution
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPerfectCanCompress
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also