Stella
Photos and files

Split scanned photos into separate pictures

Five flatbed scans of old prints cut into 16 separate, straightened photos.

Download StellaFree with the plan you already have.

A real run on 14 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 2 min 54 s in real time.

The short answer.

On a Mac, Image Capture's Detect Separate Images does this while you scan, but not for scans you already have. Photoshop's Crop and Straighten Photos does it afterwards, and the free GIMP needs a plug-in. Otherwise it's cropping each print by hand. Stella (stella.sh) found the 16 prints on five scans, straightened the crooked ones, trimmed off the scanner bed and saved each as its own photo, including a pale snow scene close to the bed's colour.

Stella does this on Windows, Mac and Linux.

What happened.

Sixteen separate photos in about 2¼ minutes. Checked afterwards against an answer key written before the run: every one of the 16 prints saved as its own picture, the right way up, none holding two prints, half a print or a whole scan, each cut tight at full resolution, straightened (the prints lay up to 4° crooked), and the scans unchanged.

The scans are A4 pages at 300 dpi with faded prints drawn for this run, laid slightly crooked on a light-grey bed, one of them a pale snow scene. The work is sped up 11×.

How Stella does it.

  1. Finds the five scans in “Mum's old photos - scans” and looks at them side by side
  2. Sets up the free OpenCV picture library in its own separate Python environment
  3. Finds each print by its difference from the scanner bed, then straightens and crops it at full scan resolution
  4. Looks at all 16 crops, measures the edges, and trims leftover slivers of scanner bed, taking care not to eat into the pale snow scene
  5. Saves them as “Scan N - photo K” in a new “Mum's old photos - cut out” folder and confirms the scans are unchanged

The prompt.

I scanned my mum's old photos three or four at a time on the flatbed. The scans are in the Mum's old photos - scans folder in my Pictures. Can you cut each scan into the separate photos?

Paste it into Stella and press Enter.

This is the exact prompt from the recording. If your files are somewhere else, say where.

Do it yourself.

  1. Mac, while scanning: Image Capture

    In Image Capture, click Show Details, set Size to Detect Separate Images, then Scan. Each print is saved as its own straightened file. Leave a finger's width between prints on the glass.

  2. Mac, existing scans: Preview

    Open the scan, drag the rectangle around one print, choose Tools, Crop, then File, Export to save it under a new name. Undo, and repeat for the next print. Straightening needs Tools, Rotate in small steps or another app.

  3. Windows: GIMP with a plug-in

    Windows has no built-in splitter. The free GIMP with the free gimp-scan-cutter plug-in adds a batch command that finds, straightens and saves each print. Otherwise, crop each one in Photos.

  4. Scanner software

    Many Epson and HP scanner programs have a mode (often called thumbnail or multi-photo) that finds separate prints while scanning. Check before scanning a whole album.

  5. Scan for easy splitting

    Leave space between prints, keep them away from the edge of the glass, and put a dark sheet behind pale or white-bordered prints so they stand out from the lid.

Where it stops.

  • Prints that touch or overlap on the glass can't be separated reliably; leave a gap between them.
  • A thin strip is trimmed from each edge so no scanner bed shows. Stella said so; a print's very edge may be lost.
  • A white-bordered print on a white lid may be cut at its picture rather than its border.
  • Small previews of the scans and crops went to the AI model you use in Stella so it could check them. The photos were cut out on your computer.
  • Recorded on Linux. On a Mac or Windows PC Stella would install Python and OpenCV first, which isn't shown.

Questions.

Can I scan several photos at once and have them separated automatically?

Yes. On a Mac, Image Capture's Detect Separate Images does it while scanning; for scans you already have, Stella or GIMP's scan-cutter plug-in splits them afterwards.

Will the separated photos be straight?

Stella straightened each print; the check confirmed it for all 16, which lay up to 4° crooked.

Do I lose resolution?

No. Each photo is cut from the full 300 dpi scan.

What next for old scans?

Sort or date them: see fix the wrong date on photos, or make a contact sheet to share them.

Is Stella free for this?

Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

Can I control what Stella changes on my computer?

Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Checked against these sources on 14 November 2026.

Stella