Back

A personal project, open source

GetRounded

Drop an image. Round the corners. Save it back.

A small desktop app for macOS, Windows and Linux that does one job: drop an image in, drag a slider, and a rounded PNG appears next to the original. It works fully offline.

Platforms
macOS, Windows and Linux
Licence
Open source under MIT
Released
Version 1.0, August 2026
Role
Solo: design and engineering

Why I built it: a personal project, not client work

Rounding the corners of a screenshot is a five-second job that kept costing me five minutes.

The problem
Every time meant launching a design tool, importing the image, drawing a mask, exporting and hunting for the file. The online alternatives were quicker, but they wanted my screenshots uploaded to a stranger's server.
What I built
A single window: drop the image in, drag the slider, hit save. The rounded PNG lands next to the original, the source is never modified, and nothing touches the network, so it works on a plane.
GetRounded

GetRounded

Drop images, set a radius, save. Nothing leaves your machine.

12% · 0px

Percentage of the image’s shorter side, so it scales with any size.

GetRounded v1.0

Click the preview or drop your own image to try it; nothing is uploaded. Here, saving downloads the PNG. The desktop app writes it beside the original.

Sample photo by Tobias Keller on Unsplash

One window, one slider.

This is the app's interface rebuilt from its own source: the same colours, labels and canvas code. Drag the slider and the corners are cut exactly as the desktop app cuts them. The blue guides trace the curve while you adjust, then fade, and they are drawn only on the preview, never into the saved file.

The guide geometry has its own test: the four marks must stay inside the image at any size and never merge into one outline, after an early bug drew a huge arc across the whole window.

Choosing a radius

From the README. Pick one to try it on the preview.

Python owns the files. The page owns the pixels.

The interface is a single HTML file shown in a native window by pywebview. Python does only what a web page cannot: see real file paths and write to disk. The rounding itself is three canvas calls, and the browser engine handles the antialiasing, so the curve stays clean at any size.

  1. app.py

    Python opens the file

    A drop or the native file dialog hands Python the real path. It reads the image and passes it to the page as a data URL.

  2. index.html

    The page rounds it

    A canvas clips the image to a rounded rectangle. The same function draws the live preview and the file that gets saved.

  3. app.py

    Python writes it back

    The PNG crosses the js_api bridge as base64 and is written beside the original as name‑rounded.png.

function render(bitmap, percent, target) {
  const { width: w, height: h } = bitmap;
  const r = Math.min(w, h) * percent / 100;
  target.width = w; target.height = h;
  const c = target.getContext('2d');
  c.clearRect(0, 0, w, h);
  c.save();
  c.beginPath();
  c.roundRect(0, 0, w, h, r);
  c.clip();
  c.drawImage(bitmap, 0, 0);
  c.restore();
  return target;
}
The whole rounding step, verbatim from index.html. The preview, the saved file and the demo above all run through it.

Small app, deliberate calls.

Offline, with no network code at all

Nothing an image passes through touches the network. GetRounded has no network code, and its one front-end dependency, Tailwind, ships inside the app so it works on a plane.

One HTML file in a native window

pywebview shows the interface in a real desktop window using the system's web view. The whole UI is one file with no build step, and Python needs a single package.

Python catches the drop

A file dropped into a web page has a name but no path, so the page could never save beside it. The drop is bound on the Python side, which also stops the webview from navigating to the dropped image and replacing the app.

Always PNG, never overwrite

JPEG has no transparency, so rounded corners would come out as black or white wedges. The result is a new file next to the source; the original is never touched.

Radius as a share of the shorter side

One setting looks right on a 400 px avatar and on a 4K screenshot, so the slider means the same thing for every image you drop in at once.

A Mac app you can drag anywhere

The first build was a shell wrapper that broke once moved into Applications. PyInstaller now bakes Python and pywebview into the bundle. Windows and Linux get a launcher (.bat, .sh) that builds its own virtual environment on first run.

Stack

App

PythonpywebviewHTML canvasTailwind CSSJavaScript

Packaging

PyInstallersipsiconutilBashBatch

Honest limits

  • Unsigned on macOS. The first launch needs a right-click and Open; signed builds are on the roadmap.
  • Windows and Linux need Python. Those builds run from source through their launcher and require Python 3.10 or newer.
  • One radius for all four corners. Per-corner radii, padding and a background colour are planned, not built.
  • Browser mode is a fallback. The same page runs without Python, but Safari and Firefox can only download results, not save into a folder.

Have something worth building?

Tell me what you're building and where it's stuck. Every message reaches me directly, and I reply personally.

Available for freelance© 2026 Mustafa Patharia. All rights reserved.