A tiny app for huge screenshots

On most days, I take full-page screenshots of websites to annotate them on Miro boards. On a Retina screen, one of those is easily 2880×30000 pixels, about 86 megapixels, and Miro rejects anything over 32. Preview, the image app that comes with macOS, crashed more often than not when I tried to resize one.

So I made Downsize, a small app that shrinks images by a percentage. You drop files on the window, turn a wheel to pick a size between 10% and 90%, and press the button in its middle. Downsize writes a copy next to the original, with the new size in its name, and leaves the original alone.

The empty Downsize window with the Mona Lisa drawn in diagonal dashes and a prompt to drop images

Figure 1: Downsize, waiting for files

The first plan was a script around sips, the command-line resizer that ships with macOS, with a few size presets. That lasted until I tried to settle on one set of flags and presets. Every screenshot needed a little tweak, so I started prototyping an app.

Then came the layout. I spent a day experimenting with how to drop files in the app. At first, dropped files fell into a folder that closed with their tops showing, and you opened it to see them. It was fun to build, but it was wrong. A folder suggests the files belong together or will end up in one place, and neither is true when you grab screenshots from three different directories. I also experimented with an accordion, a stack, and a gallery. In the end, a plain grid of the files you dropped worked best. Click one and it comes forward with its current size and what it will become.

Prototype of Downsize with five screenshots tucked into a blue folder, their tops showing

Figure 2: The folder prototype, with five files inside

I wanted the shrinking itself to feel good, so I prototyped four animations side by side: a light scanning down the page, a pixelated crunch, the image dissolving into dashes, and a press that squashes the file. I built Downsize with Claude Code, which made throwaway prototypes cheap enough to try all four. I picked the scan because it shows what the app is doing, reading the file and writing a smaller copy of it.

Four prototype windows, each shrinking the same three screenshots with a different effect: a scan line, pixelation, diagonal dashes, and a press

Figure 3: The four shrink effects, mid-animation

The size picker started as a plain slider at the bottom of the window. I wanted something nicer to turn, so it became a wheel, an homage to the iPod. It ticks as you turn it, a little louder when a number lands under the pointer, and plays three soft notes when a batch is done.

Prototype of Downsize with a grid of screenshots and a half-visible dial at the bottom, set to 50%, with the Downsize button in its center

Figure 4: The wheel prototype

The empty window shows a famous painting redrawn as diagonal dashes. I tried nine. The Mona Lisa and the Girl with a Pearl Earring read well at that size, while The Kiss and The Starry Night turned into noise. I also wanted Magritte’s The Son of Man, but it’s still under copyright.

I started in egui, a Rust UI library where you draw every effect by hand. Once most of the work was animation, I moved the interface to Tauri, which renders it with the system’s web view, and kept the image code in Rust. Homebrew installs it as a prebuilt program of a few MB. I also learned that macOS shows its unknown-developer warning for apps downloaded in a browser, but not for programs Homebrew installs.

If you take long screenshots too and need to downsize them a bit, install it with brew install sbastn/tap/downsize.

More writing