DocTrim — Batch Page Scanner & Cropper
⬇ Download Setup.exe
Click ✕ Close or press Esc to view website
Free for Windows · Open Source

Scan, Crop & Export
Documents in Batch

DocTrim is a powerful desktop application for batch scanning, perspective-correcting, cropping and exporting document pages — all with an intuitive workspace-based interface.

7+
Image Formats
4
Export Types
50
Undo Steps
∞
Tabs & Sections
Features

Everything You Need for
Document Scanning

From smart auto-detection to batch export — DocTrim handles it all in one clean interface.

🔍

AI Page Detection

Multi-algorithm auto-detection uses colour distance, brightness, saturation, edge analysis and GrabCut to find page outlines — then refines corners with robust line fitting.

✂️

Perspective Crop

4-corner + 4-edge draggable crop frame with a real-time magnifier loupe. Click anywhere and the nearest handle jumps there — precision at your fingertips.

📑

Multi-Tab Workspaces

Each tab is an independent workspace with its own images, output folder, format, groups and export settings. Run exports in one tab while editing in another.

📂

Image Sections

Organise images within a workspace using multiple sections. Double-click to rename. Numbering and export work seamlessly across all sections.

🎨

Scan Filters

Apply professional-grade filters: Original colour, Enhanced (CLAHE), Clean grayscale, or Black & White scan — with background flattening built in.

📦

Group Export

Assign images to colour-coded groups. Each group exports into its own sub-folder — perfect for multi-chapter books or separate document sets.

Workflow

How It Works

Four simple steps from captured photos to professional scanned documents.

1

Import Images

Add photos via file picker or drag-and-drop. Supports JPG, PNG, BMP, TIFF and WebP.

2

Auto-Detect Edges

One click detects page boundaries using five intelligent algorithms. Handles any background.

3

Fine-Tune & Filter

Adjust crop corners, rotate pages, apply scan filters. See a live result preview instantly.

4

Export in Batch

Export to JPEG, PNG, TIFF or multi-page PDF with your choice of compression. Background threaded.

Deep Dive

Powerful Under the Hood

Precision Crop Editor

The crop canvas gives you surgical control over page boundaries with an interactive quad-perspective frame.

  • Click anywhere — the nearest corner jumps right there
  • Drag edge handles to slide one side while keeping the rest
  • Shift+drag or right-drag moves the entire frame as a unit
  • Real-time magnifier loupe follows your active handle
  • Rule-of-thirds guide lines inside the crop quad
  • Full-screen mode (Ctrl+F / F11) for maximum workspace
🖼️
Interactive 4-corner crop with
magnifier loupe & rule-of-thirds

Deep Undo & Redo

Every change you make — crops, rotations, numbering, grouping, sorting, imports, removals, cut/paste — is tracked in a 50-step history per tab.

  • Ctrl+Z to undo, Ctrl+Y or Ctrl+Shift+Z to redo
  • 50 history steps kept per workspace tab
  • Covers all operations: crop, rotate, reorder, import, remove
  • Copy/cut/paste works across sections and tabs
⏪
50-step undo history
per workspace tab

Smart Selection & Numbering

Select images for export with intuitive click-based numbering, box selection, or bulk operations. DocTrim keeps your page order clean.

  • Click an image to assign the next sequence number
  • Drag a selection box to number multiple images at once
  • Select All / Deselect All / Invert selection toggles
  • Auto-renumber keeps sequences gap-free after changes
  • Sort by name, date, file size, import order or sequence
  • Compact numbering option for clean consecutive output
🔢
Intuitive click-to-number
with auto-renumber
Export

Flexible Output Formats

Choose the format that fits your workflow — with full control over quality and compression.

📷

JPEG

Lossy compression. Quality levels: 70, 85, 92, 100. Ideal for sharing.

🖼️

PNG

Lossless compression. Levels 1–9. Perfect for archival quality.

📄

TIFF

LZW, Deflate or Uncompressed. Industry-standard for document scanning.

📕

PDF

All pages in one file. Lossless (Flate) or JPEG modes. Ready to print or share.

Productivity

Keyboard Shortcuts

Power users — every critical action is just a keystroke away.

Ctrl + O Add images to current section
Ctrl + E Export selected (numbered) images
Ctrl + T Open a new workspace tab
Ctrl + Z Undo last action
Ctrl + Y Redo last undone action
Ctrl + C / X / V Copy / Cut / Paste images across sections & tabs
← → Navigate previous / next image
Space Select / deselect current image in crop view
Ctrl + F / F11 Toggle full-screen crop editor
Esc Exit full-screen mode
Requirements

System Requirements

💻

Operating System

Windows 10 / 11 (64-bit)

⚡

Dependencies

Python 3.8+, PyQt6, OpenCV, NumPy (bundled in installer)

💾

Storage

~200 MB for install. No cloud account needed.

The Creator

Meet the Developer

Dr. Asad Ali Akhtar

Dr. Asad Ali Akhtar

Software Engineer & MBBS Doctor

A unique blend of medical expertise and software engineering — Dr. Asad Ali Akhtar designed DocTrim to solve the real-world problem of digitising physical documents efficiently. Built with passion for clean code and intuitive design.

Ready to Digitise
Your Documents?

Download DocTrim now — free, fast, and runs entirely offline on your machine.

⬇  Download DocTrim for Windows
🖥️ Windows 10 / 11 🔒 100% Offline 🆓 Completely Free ⚡ Instant Setup