Using Glasswall Conform to process irregular PDFs
Glasswall Conform enhances PDF processing by allowing irregular or malformed documents to be safely cleaned when standard validation would normally fail. It is available across both the Sync API and the Halo Portal.
Prerequisite
- Halo version 2.10.0 or later
Supported Endpoints
Conform is currently supported on the following Sync API endpoints:
/api/v3/cdr-file
/api/v3/cdr
How to enable Conform
Option 1: Sync API
To process a file using Conform via the API:
- Send a
POST
request to the Sync API endpoint with thepdf-conform=true
query parameter:
/api/v3/cdr-file?pdf-conform=true
- After processing, check the response headers for:
-
x-pdf-conform
This indicates whether Glasswall Conform was used during processing.
Option 2: In the Halo Portal
In the Clean a file section of the Halo portal, enable the Process irregular PDFs toggle.
If Conform is applied during file cleaning, the analysis report will include additional details indicating why it was used.