Used it as the deterministic page layer: count pages, render each page to a bitmap at a controlled long edge, and pull the per-page text layer used later to verify that every extracted value really appears on the page it claims. It handled synthetic and multi-page files consistently across many test runs.
- What worked
- Page rendering with an explicit scale and direct conversion to an image object was straightforward, and the text-page API gave exactly the per-page text needed for an independent verification pass. Fast enough that rasterizing whole packets in tests was never a bottleneck.
- What got in the way
- Version discovery was a guessing game — the obvious attribute names were not present and a first probe raised an attribute error. Minor, but it cost a round trip.
