Click or drag to resize
Pdftools logo

Mrc Class

The optimization profile suitable for documents with Mixed Raster Content

Reduce the file size for documents containing large images, e.g. scanned pages, while maintaining the readability of text. This is accomplished by separating the images into a foreground, background and a mask layer. The foreground and background layers are heavily down-sampled and compressed. The textual information is stored in the mask with a lossless compression type. Additionally, redundant objects are removed, resources are optimized and embedded fonts are merged.
Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.Optimization.ProfilesProfile
        PdfTools.Optimization.ProfilesMrc

Namespace: PdfTools.Optimization.Profiles
Assembly: PdfTools (in PdfTools.dll) Version: 1.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
Syntax
C#
public class Mrc : Profile

The Mrc type exposes the following members.

Constructors
 NameDescription
Public methodMrc 
Top
Properties
 NameDescription
Public propertyCopyMetadata

Whether to copy metadata

Copy document information dictionary and XMP metadata. Default: .
(Inherited from Profile)
Public propertyFontOptions

The font optimization options


(Inherited from Profile)
Public propertyImageRecompressionOptions

The image recompression options


(Inherited from Profile)
Public propertyLayerCompressionQuality

The image quality for MRC foreground and background layers

This is a value between 0 (lowest quality) and 1 (highest quality).

Default:

Public propertyLayerResolutionDPI

The target resolution in DPI (dots per inch) for downsampling MRC foreground and background layers

Valid values are 1, or 10000, or in between. Set to to deactivate downsampling of images.

Default: 70.

Public propertyRecognizePictures

The option to recognize photographic regions when doing MRC.

Regardless of this property’s setting, monochrome (grayscale) images are always treated as entire photographic regions (cut­out pictures) by the MRC algorithm.

Default: .

Public propertyRemovalOptions

The parameters defining the optional data to remove or flatten


(Inherited from Profile)
Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also