imageDownscale

Demonstrates the allowDownScale knob on image(...) — handy for documents that embed dozens or hundreds of high-resolution photos where the source pixels would otherwise dwarf the rendered size.

The first row keeps the default allowDownScale = true: the platform decoder subsamples the source so its pixels roughly match the rendered size at 200 DPI, keeping heap and PDF size in check. The second row opts out for archival fidelity — every original pixel survives into the produced PDF.