PDF 1.4 objects
The file starts with %PDF-1.4 and ends with %%EOF. A catalog points at a pages tree. Each page has a MediaBox, a content stream that positions one image, and an image XObject.
The generator is a small, self-contained PDF 1.4 writer. It does not load a PDF library or call a server. The notes below describe the objects it writes.
The file starts with %PDF-1.4 and ends with %%EOF. A catalog points at a pages tree. Each page has a MediaBox, a content stream that positions one image, and an image XObject.
Each page image is a /XObject /Image with /ColorSpace /DeviceRGB, /BitsPerComponent 8, and /Filter /DCTDecode. The stream bytes are a baseline JPEG produced in this browser.
A4 is 595.28 × 841.89 pt. US Letter is 612 × 792 pt. Landscape swaps those sides. Fit Image uses the image aspect plus the margin on every side.
The writer records the exact byte offset of every object in a standard 20-byte xref table, then a trailer with /Root and /Size, then startxref. That is what lets an ordinary reader open the file at once.
The output follows ordinary PDF 1.4 conventions. Readers that open standard image-only PDFs can open these files. This page cannot promise the behavior of a particular commercial tool.
No. Each page is a placed image, not extracted text. That is appropriate for a scan, a receipt photo, or a signed form.