<< Click to Display Table of Contents >> Navigation: GDI Print Directives > Optimizations |
This section controls Optimizations of the generated PDF file.
Name |
Values |
Description |
PDFv3 |
---|---|---|---|
Blending |
0 (Normal) 1 (Multiply) 2 (Screen) 3 (Overlay) 4 (Darken) 5 (Lighten0 6 (colorDodge) 7 (colorBurn) 8 (HardLight) 9 (SoftLight) 10 (Difference) 11 (Exclusion) |
Specifies blending mode used for blending line art during printing from some application. Default = 4 |
BlendMode |
DeTesselation |
0 (None) 1 (Simple) |
Specifies if detesselation should be used for a sequence of triangles. Default = 1 (Simple) |
(same) |
UseTransparency |
Boolean |
Enables transparency drawing into the PDF file. PDFX can detect some drawing sequences and can then replace them with transparency drawing. Note that when PDF/A mode is used, this property is forced to False value. Default = True |
NoTransparency. |
UseMaskedImages |
Boolean |
Using masked images produces smaller PDF files for some drawing sequences. Default = True |
NoMasked |
GrayPaletteAsRGB |
Boolean |
If this option is enabled, the palettes of grayscaled images are stored as RGB palettes where each palette element has the same value for each of its RGB components. Default = False |
(no V3) |
ImagesOptimization |
Boolean |
Enables the optimization of image sequences. Such optimization requires many manipulations with images but causes the resulting PDF to be much smaller and better for viewing. Default = True |
OptimizeImages |
EnableSwapping |
Boolean |
Enables swapping images to the disk during image optimization. When swapping is turned off optimization time is smaller as a rule, but requires more memory. Default = True |
SwapToDisk |
SwapToDiskLimit |
1-8 |
Defines the image size (in megabytes) in memory starting from which this image will be swapped to disk (if option EnableSwapping has True value). Default = 1 |
(no V3) |
Comments
These have been documented here because they are supported in the driver and they sound potentially useful. But testing with various documents created by A-Shell GDI printing doesn’t not show much if any benefit.
Compatibility
The directives UseTransparency and UseMaskedImages have been "flipped" from their meaning (don't use) in PDFv3. The default in both cases is now 1, "Use..."
Examples
//PDFX,Optimizations,ImagesOptimization,False
//PDFX,Optimizations,GrayPaletteAsRGB,True
//;Turn on image optimization
//PDFX,Optimizations.ImagesOptimization,False