Skip to main content
DocumentPDFLayoutA3→A4

KET writing essays, A3 → A4

A scanned KET essay pack mixed A3 double-page spreads with A4 pages. Xiaohe detected the layout, split each spread at its content gap, and delivered a uniform 30-page A4 PDF, ready to print.

Before & after

The task

A scanned PDF of KET writing model essays arrived via WeChat — 16 pages mixing A3-style landscape double-page spreads with normal A4 pages. The user wanted it split into a uniform A4 set for printing.

Image preview was unavailable in that session, so Xiaohe analyzed the pages programmatically: ink profiles, gutter detection, and coarse ASCII renders to tell two-page spreads apart from single landscape pages.

Each spread split at the actual content gap (~51.5%), not a blind 50%, so no text column got clipped. Result: 30 pages, all exactly A4, plus a numbered preview sheet for review.

How Xiaohe did it

  • 1. Inspect

    Read the 16-page scan; page sizes are a non-standard 364 mm wide canvas.

    pdfinfo KET写作范文.pdf
  • 2. Analyze the layout

    Ink profiles and gutter detection reveal pages 2–15 are two A4 pages side by side (A3); pages 1 and 16 are single A4.

  • 3. Split at the gap

    Divide each spread at the content gap (~51.5%) so the last text column is not clipped.

    PyMuPDF · crop at content-gap
  • 4. Verify

    Confirm all 30 output pages are exactly 595 × 842 pt (A4).

  • 5. Preview

    Render a numbered contact sheet of the 30-page result, plus one of the original 16 pages, for review.

  • 6. Deliver

    Move the A4 PDF and previews into share/, ready to print.

Skills used

  • mytoolkit · pdf
  • PyMuPDF
  • mywechat

Deliverables

More works

Real tasks, from the terminal to a finished document.

All works