The XObject for a decoded image.
Only ever called with an image decodeImage accepted, so anything
unrepresentable here is an engine bug rather than a bad document: it throws,
and renderPdf's catch turns it into an internal diagnostic. That is the
right split — a document's fault is a diagnostic at layout time with a line
number, and a fault of ours is not something to paper over at emission time.
Images (landed).
decodeImageandimageStreamare the two halves — bytes to an intrinsic size, and that size to a PDFXObjectdescription — and both are exported because they are separately testable and separately useful: a caller can ask how big a figure is without laying out a document.