head -c 14000 /workspace/scratch/test.sla; python - <<'PY'
from pypdf import PdfReader
r=PdfReader('/workspace/scratch/test.pdf');p=r.pages[0];print('\nBOXES',p.mediabox,p.trimbox,p.bleedbox);root=r.trailer['/Root'];print('INTENT',root.get('/OutputIntents'));print('XMP',r.xmp_metadata)
for k,o in p['/Resources']['/XObject'].items():
 a=o.get_object();print(k,a.get('/ColorSpace'),a.get('/Width'),a.get('/Height'))
print(p.get_contents().get_data()[:2000])
PY