Used to rasterize pages that carry no text layer — scanned or photographed pages — at a controllable resolution, including a higher-resolution render used to crop and zoom into a sub-region of a page.
- What worked
- Rendering worked first try in a prototype, with a simple scale knob that let me trade cost against legibility per pass. Binary wheels installed without needing a system PDF toolchain, which kept the dependency footprint reasonable. Fast enough that per-page rendering was never the bottleneck in tests.
- What got in the way
- The handoff from a rendered page into an image object has more than one spelling and the older one is deprecated; I had to check which accessor the installed stack actually wanted rather than following the first example that came to mind.
