Build/lagom/bin/pdf --render out.png ~/src/stillhq.com-pdfdb/000025.pdf --page 5
Have a task manager open, and kill it quickly – it'll consume tens of gigabytes of ram within seconds.
The fifth page does (courtesy of Build/lagom/bin/pdf --render out.png ~/src/stillhq.com-pdfdb/000025.pdf --page 5 --dump-contents
, which completes quickly):
q
1.0 0.0 0.0 1.0 0.0 0.0 cm
100.00 0.00 0.00 100.00 0.00 0.00 cm
/template300 Do
Q
q
/ Q
push and pop the current graphics stack. cm
sets an affine transform using the 6 numbers in front of it. Do
draws an object. /template300
is an object with these instructions:
q
0.439216 0.541176 0.145098 rg
210 174923415 m
5 w
225 174923325 275 174923225 310 174923415 c
200 174923400 160 174923465 v
250 174923250 210 174923415 y
h
B
Q
rg
sets rgb to the previous 3 numbers (0..1). m
moves the current path position to xy before it. w
sets the line width. c
adds a cubic spline using the 6 numbers in front of it. v
does the same but replicates the initial point as control point. y
also does the same but replicates the final point as second control point. h
closes the path. B
fills and strokes, using nonzero winding.
All the y coordinates are ginormous and the whole thing is way outside the painter's clip.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too