OptimizerOption
Namespace: Datalogics::PDFL
Description
Select the optimization option to be set or obtained.
Values
- DownsampleColor
When this option is ON, Downsample all color images above MAX DPI to ResetTo DPI. Default is ON.
- RecompressColor
When this option is ON, recompress all color images which are compressed by a different scheme than one select by RecompressTo to RecompressTo. Default is ON.
- DownsampleGray
When this option is ON, Downsample all gray scale images above MAX DPI to ResetTo DPI. Default is ON.
- RecompressGray
When this option is ON, recompress all gray scale images which are compressed by a different scheme than one select by RecompressTo to RecompressTo. Default is ON.
- DownsampleBW
When this option is ON, Downsample all Black and White images above MAX DPI to ResetTo DPI. Default is ON.
- RecompressBW
When this option is ON, recompress all Black and White images which are compressed by a different scheme than one select by RecompressTo to RecompressTo. Default is ON.
- RecompressOnlyIfSmaller
In all of the above Downsample and Recompress operations, if this option is ON, replace the image ONLY if the resultant compressed image is smaller than the original. Default is ON.
- DiscardAlternateImages
When this option is ON, any Alternate Images defined for a given image (Images in different resolutions than the base image) will be discarded. Default is ON.
- SubsetAllEmbeddedFonts
When this option is ON, any fonts which are embedded, but not subset, will be replaced with subset fonts. This can save considerable space in a document, but does so at the risk of preventing future edits to the document. Default is ON.
- ReSubsetAllSubsetFonts
When this option is ON, any fonts which are subset embedded, will be replaced with a newly subset font. This will generally only happen if the document has been edited since it was created, or the document contains only a subset of the page that it originally contained. NOTE: This can only REMOVE glyphs from the subset font. It cannot add glyphs that were not present int he original subset. Default is ON.
- RemoveAllEmbeddedFonts
When this option is ON, all embedded fonts will be removed. If this is done, the document can only be viewed on platforms which contain all of the fonts required. Generally, you would want to do this only in very tightly controlled circumstances. Default is OFF.
- RemoveAllBase14Fonts
This will remove any embedded base 14 fonts. Generally, it is safe to remove these fonts, as any platform that supports PDF should have locally available copies of them. However, there is still some risk that the embedded fonts are not identical to the actual base14 fonts, and hence may render differently. Default is OFF.
- MergeDuplicateFonts
When this option is ON, the document will be searched for mutliple copies of the same font. These will then be combined into a single font. Default is ON.
- DiscardBookmarks
When this option is ON, all bookmarks will be removed from the document. Note that this information cannot be reconstructed. Default is OFF.
- DiscardAcroforms
When this option is ON, All acroform structures will be removed from the document. NOTE: Filled in fields, if any, will be left in the document. So the content of those fields will continue to display. Default is ON.
- DiscardOutputIntent
When this option is ON, any OutputIntent structures in the document, along with their associated color profiles, will be removed. This may cause color shifting, when rendering the document. Default is OFF.
- DiscardThumbnails
When this option is ON, any thumbnails embedded in the document will be removed. Default is ON.
- DiscardPageLabels
When this option is ON, discard any Page Label Trees embedded in the document This may cause a difference in the display and selection of pages in some viewers. Default is ON.
- DiscardNameTress
When this option is ON, discard any NameTrees in the document. This may cause issues with links within the document. Default is ON.
- DiscardStructureTrees
When this option is ON, discard any structure trees in the document. Default is OFF.
- DiscardFileAttachments
When this option is ON, remove any document embedded in the PDF Document. Default is ON.
- DiscardXMPPadding
When this option is ON, remove from the XMP Metadata any padding areas, left to allow the XMP data to be updated. Default is ON.
- DiscardUnusedForms
When this option is ON, remove any Forms XObjects which are included in the document, but never displayed in the document. Default is ON.
- DiscardPieceData
When this option is ON, remove any user supplied private PieceData embedded in the document. This will never effect appearance, but may limit the use of special processing by the application that provided this data. Default is ON.
- CompressStreams
When this option is ON, any streams (of more than 20 bytes length) which are not compressed will be compressed using Flate. Default is ON.
- ReplaceLZW
When this option is ON, any LZW Compressed streams will be recompressed using Flate. Default is ON.
- DiscardMetadata
When this option is ON, any Metadata embedded in the document (Except for the document level Metadata) will be removed. Default is OFF.
- DiscardDocumentInfo
When this option is ON, any Document Information, beyond the basic information supplied by APDFL, will be discarded. Note that this will also remove that information from the document level Metadata. Default is OFF.
- OptimizeContentStreams
When this option is ON, attempt to find common segments of code at the start of page content, and share a single copy of such common code. Default is ON.
- Linearize
When this option is ON, create the optimized document as Linearized (Optimized for Web Access). Default is OFF.
- DiscardDuplicateForms
When this option is ON, locate and remove duplicate copies of forms, using a single copy for all references to that form. Default is ON.
- DiscardDuplicateObjects
When this option is ON, locate and remove duplicate copies of objects, using a single copy for all references to that object. Default is ON.
- DiscardASCIIFilters
When this option is ON, remove the ASCIIHex and ASCII85 filters from any streams that use these as their final filters. These have historically been used to render data safe in a 7 bit data channel, or for debugging purposes Default is ON.
- DiscardComments
When this option is ON, remove all annotations which are commentary to the content (All "Markup" annotations). Default is OFF.
- DiscardAnnotations
When this option is ON, remove all annotations, of all types, from all pages. This may result in visible loss of information in the rendered pages. Default is OFF.
- DiscardJavaScriptActions
When this option is ON, remove all JavaScript actions in the document. Default is OFF.
- FlattenOptionalContent
When this option is ON, Optional Content in the document is Flattened. Default is OFF.
- DownConvert16To8BpcImages
When this option is ON, down-converts all 16 Bits Per Component images to 8 Bits Per Component. Default is ON.
- DiscardUnusedImages
When this option is ON, remove any Image XObjects which are included in the document, but never displayed in the document. Default is ON.
- DiscardUnusedFonts
When this option is ON, remove any Fonts which are included in the document, but never used in the document. Default is ON.