Byte & Page
Advertisement

A working notebook on documents and the tools that move them

Every file has a shape.
We write down what we learn about it.

Byte & Page covers PDF internals, file-format quirks, and the small utilities developers reach for when a document needs to be read, split, signed, or rescued. No fluff — just notes from building and breaking things.

page 01 / spec.pdf

Advertisement

Recent notes

FORMATS

Why a PDF isn't really a "document" — it's a page-description program

Most people treat PDFs as static files, but the format is closer to a set of drawing instructions than a text document. Understanding that distinction explains almost every weird bug you'll hit: text that won't select, images that render blurry at one zoom level and sharp at another, fonts that silently substitute themselves. We walk through the object structure — the cross-reference table, content streams, and how a viewer actually turns bytes into pixels — and why that architecture makes editing a PDF fundamentally harder than editing a Word file.

TOOLING

Splitting and merging PDFs without losing form fields

Merge two PDFs the naive way and you'll often watch interactive form fields quietly stop working. The cause is usually a naming collision in the AcroForm dictionary, not a bug in your tool. This note covers how field names are scoped, what a namespaced merge looks like, and a short checklist to run before you ship a "combine PDFs" feature so filled-in data doesn't vanish on the other side.

WORKFLOW

OCR is a pipeline, not a checkbox

Turning a scanned PDF into searchable text usually gets treated as a single "OCR this" button, but the result quality depends on decisions made well before recognition even starts: deskewing, binarization thresholds, and DPI upsampling all move accuracy more than picking a fancier model. We break down a minimal pre-processing pipeline that noticeably improves output on scans, receipts, and old book pages.

SECURITY

What "password protected" actually means in a PDF

PDF encryption has two separate passwords doing two separate jobs — one gates opening the file, the other gates permissions like printing or copying — and older PDF versions used encryption weak enough to be brute-forced in seconds. This note explains the difference between user and owner passwords, why "restricting" a PDF isn't the same as securing it, and what to check before you rely on a PDF's protection for anything sensitive.

Advertisement
Advertisement

About Byte & Page

Byte & Page started as a set of private notes kept while building document tools, and turned into a small public notebook because most writing about file formats online is either a decade out of date or written for people who already know too much.

We write for developers who need to work with PDFs, images, and structured documents but don't want to spend a weekend reading a 900-page ISO spec to do it. Every note here comes from something we actually built, broke, or had to debug — not a rewrite of someone else's documentation.

The site is independently run, self-funded through the ads you see on this page, and not affiliated with any single PDF vendor. If something here is wrong or out of date, tell us — see the contact section below.

Contact us

Corrections, tips, or just want to say a note was useful — send it over.

Privacy policy

Last updated: September 2026

Information we collect

When you use the contact form on this site, we collect the name, email address, and message you provide, solely to respond to your inquiry. We do not require account creation and do not collect payment information.

Cookies and advertising

This site displays advertisements served by third-party vendors, including Google. These vendors may use cookies, web beacons, and similar technologies to serve ads based on your prior visits to this site or other websites. Google's use of advertising cookies enables it and its partners to serve ads based on your visit to this site and/or other sites on the internet.

You may opt out of personalized advertising by visiting Google's Ads Settings. You may also opt out of a third-party vendor's use of cookies for personalized advertising by visiting www.aboutads.info.

Third-party links

Our site may link to external sites that are not operated by us. Please be aware that we have no control over the content and practices of these sites, and cannot accept responsibility for their respective privacy policies.

Data retention and security

Contact form submissions are retained only as long as needed to address your inquiry. We take reasonable measures to protect the information you provide, but no method of transmission over the internet is 100% secure.

Children's privacy

This site does not knowingly collect personal information from children under 13. If you believe a child has provided us with personal information, please contact us and we will delete it.

Changes to this policy

We may update this privacy policy from time to time. Changes will be posted on this page with an updated revision date.

Contact

Questions about this policy can be sent through the contact form above.

Advertisement