{
  "method": {
    "corpus": "GovDocs1, the same 4,840 extracted PDFs as the metadata, redaction, split and sideways studies",
    "sampleRule": "every extracted PDF that opens (a census, no sample); the Resize arm runs on the files with 3 to 40 pages and at most 3 MB",
    "size": "a page's size is what a reader is given: its CropBox clipped to its MediaBox (the MediaBox when it has no CropBox), turned by /Rotate, read with HerePDF's own lib/pageGeometry.js. A page with no MediaBox at all is read as US Letter, as PDF.js draws it, and counted separately",
    "papers": "a page is named when both its edges are within 3 points of Letter (612 x 792), A4 (595 x 842), Legal (612 x 1008), A3 (842 x 1191), A5 (420 x 595), Tabloid (792 x 1224), either way up; any other size is 'other', and compared with other sizes after rounding each edge to the point",
    "shape": "for files of 2 or more pages: 'single' = every page the same paper and the same way up; 'orientation' = one paper, some pages portrait and some landscape; 'mixed' = more than one paper",
    "resize": "HerePDF's resizePdf (lib/pdfResize.js) with the A4 or the Letter preset and Fit, then the file is read again with the same geometry; a page 'reaches the target' when its edges are within half a point of the preset",
    "limits": "a 2009-era US government corpus: it over-represents Letter and will not say what other countries or other years of PDFs hold; encrypted files are not measured",
    "sampleIdsSha256": "67d4e54dc5793ae9ad4887adca9974bf58b5703012e5c870bf038631897a2457",
    "tool": {
      "pdfLib": "2.11.1"
    },
    "generatedOn": "2026-10-20",
    "commit": "d2326cb"
  },
  "tried": 4840,
  "completed": 4636,
  "notCompleted": {
    "failed": 204
  },
  "encrypted": 197,
  "pages": {
    "total": 126395,
    "paper": {
      "Letter": 109756,
      "Tabloid": 159,
      "other": 13730,
      "A4": 2464,
      "Legal": 264,
      "A5": 20,
      "A3": 2
    },
    "orientation": {
      "portrait": 112924,
      "landscape": 13432,
      "square": 39
    },
    "rotated": 10311,
    "flippedByRotate": 10214,
    "cropped": 6186,
    "originNonZero": 290,
    "noMediaBox": 43,
    "userUnit": 0
  },
  "files": {
    "single": 441,
    "multiPage": 4195,
    "shape": {
      "single": 3743,
      "orientation": 204,
      "mixed": 248
    },
    "everyPage": {
      "Letter": 3914,
      "A4": 79,
      "Legal": 17,
      "A3": 0,
      "A5": 1,
      "Tabloid": 43,
      "other": 423
    },
    "onlyNamedPapers": 4073,
    "withSomeOther": 563,
    "withRotatedPage": 440,
    "withFlippedByRotate": 435,
    "withCroppedPage": 200,
    "withOriginNonZero": 29,
    "withNoMediaBox": 9,
    "withUserUnit": 0
  },
  "mixed": {
    "files": 248,
    "letterAndA4": 5,
    "withDifferentSizes": 248,
    "mostDistinctSizes": 82
  },
  "other": {
    "distinctSizes": 1429,
    "pages": 13730,
    "cropped": 5447,
    "croppedOnNamedSheet": 5031,
    "top": [
      {
        "size": "538x718",
        "pages": 1454
      },
      {
        "size": "432x648",
        "pages": 970
      },
      {
        "size": "522x738",
        "pages": 799
      },
      {
        "size": "521x737",
        "pages": 712
      },
      {
        "size": "540x720",
        "pages": 603
      },
      {
        "size": "432x649",
        "pages": 404
      },
      {
        "size": "396x612",
        "pages": 273
      },
      {
        "size": "537x717",
        "pages": 214
      },
      {
        "size": "720x1080",
        "pages": 195
      },
      {
        "size": "603x783",
        "pages": 180
      }
    ]
  },
  "resize": {
    "files": 2889,
    "A4": {
      "files": 2889,
      "pagesTried": 37682,
      "pagesAtTarget": 37682,
      "filesAllAtTarget": 2889,
      "pageCountChanged": 0,
      "scales": {
        "shrunkUnder10": 33959,
        "shrunkOver10": 308,
        "grewUnder10": 774,
        "unchanged": 783,
        "grewOver10": 1858
      },
      "sizeRatio": {
        "median": 0.9679050947213537,
        "max": 1.4297363413971187
      }
    },
    "Letter": {
      "files": 2889,
      "pagesTried": 37682,
      "pagesAtTarget": 37682,
      "filesAllAtTarget": 2889,
      "pageCountChanged": 0,
      "scales": {
        "unchanged": 32660,
        "shrunkOver10": 302,
        "grewUnder10": 1316,
        "shrunkUnder10": 2054,
        "grewOver10": 1350
      },
      "sizeRatio": {
        "median": 0.9670046752590347,
        "max": 1.4824680619733623
      }
    },
    "letterToA4": {
      "files": 2468,
      "pagesTried": 31920,
      "pagesAtTarget": 31920,
      "filesAllAtTarget": 2468,
      "pageCountChanged": 0,
      "scales": {
        "shrunkUnder10": 31920
      },
      "sizeRatio": {
        "median": 0.9655493988671975,
        "max": 1.2299753363466037
      }
    },
    "a4ToLetter": {
      "files": 50,
      "pagesTried": 677,
      "pagesAtTarget": 677,
      "filesAllAtTarget": 50,
      "pageCountChanged": 0,
      "scales": {
        "shrunkUnder10": 677
      },
      "sizeRatio": {
        "median": 0.9723816564898049,
        "max": 1.4824680619733623
      }
    },
    "allLetterFiles": 2468,
    "allA4Files": 50
  }
}
