PDF Optimizer
  • 🏁Getting Started
    • Introduction
    • Installation
    • Support Us
    • License
  • 🚀Basic Usage
    • Standalone PHP
    • Laravel
  • ⚙️Advanced Usage
    • Ghostscript Binary Configuration
    • Timeout
    • Logger
    • Custom Ghostscript Options
    • Export Script
    • Configuring Ghostscript
      • ASCII85EncodePages
      • AutoFilterColorImages
      • AutoFilterGrayImages
      • AutoRotatePages
      • ColorConversionStrategy
      • ColorImageDepth
      • ColorImageFilter
      • ColorImageDownsampleThreshold
      • ColorImageDownsampleType
      • ColorImageResolution
      • CompatibilityLevel
      • CompressFonts
      • CompressPages
      • ConvertCMYKImagesToRGB
      • DefaultRenderingIntent
      • DetectDuplicateImages
      • DownsampleColorImages
      • DownsampleGrayImages
      • DownsampleMonoImages
      • EmbedAllFonts
      • EncodeColorImages
      • EncodeGrayImages
      • EncodeMonoImages
      • FastWebView
      • GrayImageDepth
      • GrayImageDownsampleThreshold
      • GrayImageDownsampleType
      • GrayImageFilter
      • GrayImageResolution
      • LockDistillerParams
      • MaxInlineImageSize
      • MaxSubsetPct
      • MonoImageDepth
      • MonoImageDownsampleThreshold
      • MonoImageDownsampleType
      • MonoImageFilter
      • MonoImageResolution
      • PassThroughJPEGImages
      • PassThroughJPXImages
      • ParseDSCComments
      • ParseDSCCommentsForDocInfo
      • PDFA
      • PDFACompatibilityPolicy
      • PDFX
      • PreserveEPSInfo
      • PreserveHalftoneInfo
      • PreserveMarkedContent
      • PreserveOPIComments
      • PreserveOverprintSettings
      • ProcessColorModel
      • PDFSETTINGS
      • SubsetFonts
      • UCRandBGInfo
      • UseFlateCompression
  • 🎮Laravel Deep Dive
    • Filesystem
    • Queue
Powered by GitBook
On this page

Was this helpful?

  1. Advanced Usage
  2. Configuring Ghostscript

PDFACompatibilityPolicy

pdfACompatibilityPolicy

Method Name
Argument Name
Argument Type

pdfACompatibilityPolicy

policy

int

When an operation (e.g. pdfmark) is encountered which cannot be emitted in a PDF/A compliant file, this policy is consulted, there are currently three possible values:

  • 0: (default) Include the feature or operation in the output file, the file will not be PDF/A compliant. Because the document Catalog is emitted before this is encountered, the file will still contain PDF/A metadata but will not be compliant. A warning will be emitted in this case.

  • 1: The feature or operation is ignored, the resulting PDF file will be PDF/A compliant. A warning will be emitted for every elided feature.

  • 2: Processing of the file is aborted with an error, the exact error may vary depending on the nature of the PDF/A incompatibility.

PreviousPDFANextPDFX

Last updated 1 year ago

Was this helpful?

⚙️