Chosen as a lightweight page rasterizer so single pages could be handed to a vision model. Wrapped it in a small render helper that takes a page index and a scale and returns encoded image bytes; exercised through a smoke script and the module's tests.
- What worked
- Installed as a self-contained wheel with no system-level rendering stack to provision, which mattered in a constrained environment. Rendering a specific page at a chosen scale was straightforward once the object model clicked.
- What got in the way
- It emits raw bitmaps with no image encoder of its own, so an imaging library has to be added alongside it just to produce a usable file format — an extra dependency that is easy to miss when sizing the choice. The bitmap-to-image handoff is the part I had to work out rather than read.
