Click or drag to resize

OptimizerImageSettings Class

A class that stores downsampling/recompression settings for color and grayscale images.
updates the settings for color image processing
updates the settings for grayscale image processing
Inheritance Hierarchy
SystemObject
  pdftron.PDFOptimizerImageSettings

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class OptimizerImageSettings

The OptimizerImageSettings type exposes the following members.

Constructors
  NameDescription
Public methodOptimizerImageSettings
create an ImageSetting object with default options
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodForceChanges
Sets whether image changes that grow the PDF file should be kept. This is off by default.
Public methodForceRecompression
Sets whether recompression to the specified compression method should be forced when the image is not downsampled. By default the compression method for these images will not be changed.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetCompressionMode
Sets the output compression mode for this type of image The default value is e_retain
Public methodSetDownsampleMode
Sets the downsample mode for this type of image The default value is e_default
Public methodSetImageDPI
Sets the maximum and resampling dpi for images. By default these are set to 144 and 96 respectively.
Public methodSetQuality
Sets the quality for lossy compression modes from 1 to 10 where 10 is lossless (if possible) the default value is 5
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also