StripeOff — a simple application for removing white borders from images. Drag and drop files or a folder — the program will process everything automatically.
- Drag-and-drop interface
- Folder support (recursive processing of all images)
- Localization: Russian and English
- Processing history with progress display
- Supported formats: PNG, JPG, JPEG, BMP, WebP
The app uses OpenCV to detect and remove white borders:
- White pixel detection — a pixel is considered white if all RGB channels are ≥ 250
- Border scanning — the algorithm scans from each edge (top, bottom, left, right) to find the first non-white row/column
- Minimum threshold — borders narrower than 5 pixels are ignored to avoid false positives
- Cropping — the image is cropped to the detected content boundaries
This approach is fast and works well with scanned documents, screenshots, and images with uniform white margins.
- Run
remove_borders_app.py - Drag images or a folder into the program window
- Processed files are saved next to the originals with the
_croppedsuffix
Download StripeOff_Setup_1.0.0.exe from Releases and run it. The installer will create shortcuts on the desktop and in the Start menu.
Download StripeOff.exe from Releases — runs without installation.
Requires Python 3.9+
pip install -r requirements.txt
python remove_borders_app.py
pip install pyinstaller
pyinstaller StripeOff.spec
Requires Inno Setup 6.
build_installer.bat
Output:
dist/StripeOff.exe— portable versiondist/StripeOff_Setup_1.0.0.exe— installer

