Measures the largest placed size of every image XObject from the page content (p...
https://format.halowerk.com/v1/pdf-compress-to-sizeOverview
Measures the largest placed size of every image XObject from the page content (pdf-lib 1.17.1 plus own content interpreter) and derives its effective resolution. Lossless steps come first: uncompressed streams are Flate-compressed, page thumbnails optionally dropped, unreachable objects removed and objects packed into object streams.