PDF Checker

Sample results JSON file output: successful review

This is what a complete JSON results report file would look like when each of the fields controlling the output is specified and PDF Checker completes the review successfully.

You could set up a batch process to review a set of PDF documents stored in a server directory automatically, one by one. Then, you could add a step to your batch code that would identify the PDF documents that PDF Checker found with issues or problems, and send this JSON report output to PDF Optimizer, and PDF Optimizer could then optimize each PDF document based on the items found by PDF Checker.

Note that PDF Checker provides the size of the PDF source document, and a machine readable value, “sizeInBytes.” This allows you to scan the results to make decisions on document processing based on file size. For example, a PDF document that is only 10 KB probably isn’t worth optimizing.

{
    "analysis-summary": {
        "can-be-optimized": true,
        "date": "Thu Jun 18 12:08:07 2020",
        "errors": [ ],
        "information": [
            "born-digital",
            "contains-annots",
            "contains-annots-not-for-printing"
        ],
        "input": "C:\\path\\to\\input.pdf",
        "pdf-checker-version": "1.6.0",
        "profile": "C:\\path\\to\\everything.json",
        "size-in-bytes": 3538813,
        "triggered-abort": ""
    },
    "cleanup-results": {
        "checks-aborted": [ ],
        "checks-completed": [
            "suboptimal-compression"
        ],
        "errors": { },
        "how-to-optimize": { },
        "information": { }
    },
    "color-images": {
        "checks-aborted": [ ],
        "checks-completed": [
            "image-depth",
            "resolution-too-high",
            "resolution-too-low",
            "uses-jpeg2000-compression"
        ],
        "errors": { },
        "how-to-optimize": { },
        "information": { }
    },
    "fonts-results": {
        "checks-aborted": [ ],
        "checks-completed": [
            "fontdescriptor-missing-capheight",
            "fontdescriptor-missing-fields",
            "uses-base14fonts-not-embedded",
            "uses-fonts-fully-embedded",
            "uses-fonts-not-embedded"
        ],
        "errors": { },
        "how-to-optimize": { },
        "information": { }
    },
    "general-results": {
        "checks-aborted": [ ],
        "checks-completed": [
            "born-digital",
            "claims-pdfa-conformance",
            "claims-pdfe-conformance",
            "claims-pdfua-conformanc",
            "claims-pdfvt-conformance",
            "claims-pdfx-conformance",
            "contains-owner-password",
            "contains-signature",
            "damaged",
            "image-only",
            "password-protected",
            "pdf-v2",
            "unable-to-open",
            "xfa-type"
        ],
        "errors": { },
        "how-to-optimize": { },
        "information": {
            "born-digital": [
                "Document was born digital.  It was produced from PDF authoring software and so it may 
                contain text, images, tables, forms, and other objects. These types of PDFs typically 
                do not require OCR."
            ]
        } 
    },
    "grayscale-images": {
        "checks-aborted": [ ],
        "checks-completed": [
            "resolution-too-high",
            "resolution-too-low",
            "uses-jpeg2000-compression"
        ],
        "errors": { },
        "how-to-optimize": { },
        "information": { }
    },
    "image-results": {
        "checks-aborted": [ ],
        "checks-completed": [
            "alternate-images"
        ],
        "errors": { },
        "how-to-optimize": { },
        "information": { }
    },
    "monochrome-images": {
        "checks-aborted": [ ],
        "checks-completed": [
            "resolution-too-high",
            "resolution-too-low",
            "uses-jbig2-compression"
        ],
        "errors": { },
        "how-to-optimize": { },
        "information": { }
    },
    "objects-results": {
        "checks-aborted": [ ],
        "checks-completed": [
            "contains-javascript-actions",
            "contains-thumbnails"
        ],
        "errors": { },
        "how-to-optimize": { },
        "information": { }
    },
    "userdata-results": {
        "checks-aborted": [ ],
        "checks-completed": [
            "contains-annots",
            "contains-annots-not-for-printing",
            "contains-annots-not-for-viewing",
            "contains-annots-without-normal-appearances",
            "contains-embedded-files",
            "contains-metadata",
            "contains-optional-content",
            "contains-private-data",
            "contains-transparency"
        ],
        "errors": { },
        "how-to-optimize": {
            "contains-annots": [
                "Annotations can be removed using PDF Optimizer to save space.(15 instances)"
            ],
            "contains-annots-not-for-printing": [
                "Annotations not intendedfor printing can be removed using PDF Optimizer to save
                space.(15 instances)"
            ]
        },
        "information": {
            "contains-annots": "SubType: Link(15 instances)",
            "contains-annots-not-for-printing": "Link(15 instances)"
        }
    }     ​ ​ ​
}