@pixra/macos-screenshot-crop
v0.0.2
Published
Automatically detect and crop macOS screenshot rounded corners to transparent
Maintainers
Readme
macOS Screenshot Crop
A Pixra plugin that removes the rounded corners from macOS window screenshots, making them transparent.
Problem
When you take a screenshot of a window on macOS, the four corners include whatever is behind the window (the shadow area contains the background). This plugin crops those corner areas to transparent.
Usage
- Open a macOS window screenshot in Pixra
- Run "macOS Screenshot Crop" from the Tools menu
- Export as PNG to preserve transparency
How it works
The plugin applies a fixed 45px radius circular mask to all four corners of the image. For each corner:
- Pixels outside the circular boundary are made fully transparent (alpha = 0)
- Anti-aliasing is applied at the edge for smooth transitions
The 45px radius is calibrated to cover the macOS window corner radius including the shadow area.
Install
- Open https://pixra.rxliuli.com/
- Click Plugin > Plugin Store
- Find "macOS Screenshot Crop" and install it
