
ImageSizeReducer
@imagesizereducer
Detect and strip a solid frame from the edges of an image, whether it is a crisp white band, a dark outline, or a tinted margin from a scan. Fine-tune it when the border color is close to but not exactly the one expected.
A thin band of color around an image is rarely part of the design. It is usually a leftover, and it is usually easier to delete than to work around.
Detection from each edge, a threshold for near matches, and a preview before anything is saved.
Automatic detection
The frame is measured independently on all four sides, so an asymmetric border is found as readily as an even one.
Threshold control
Allow a margin of difference so a scanned or lossy border that is nearly white rather than pure white is still recognized.
Reference color
Pick the border color yourself when automatic detection locks onto the wrong value.
Preview the trim
See exactly how much will come off before saving, which is how over-trimming of a pale subject is caught.
Local processing
The file is read in the browser, so a private screenshot is never uploaded.

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer
Four steps. The third is the one that protects pale content from being trimmed away with the frame.
Use the original file rather than a resized copy, so the border is still a clean uniform band.
The tool measures each edge in turn. If it locks onto the wrong color, set the reference value manually.
Raise it until the whole band is caught, and lower it if the trim starts eating into the artwork.
Save the result and check the dimensions, since the image is now smaller by exactly the border on each side.
Four kinds of work where a stray frame causes trouble.
Web designers
importing client assets
Half the images clients send arrive with a frame from a screenshot. Trimming at import stops the layout being pushed out of alignment.
Documentation writers
cleaning up screenshots
Capturing a window tends to include its edge. Stripping that band makes a set of screenshots look consistent instead of each having its own margin.
Print shops
preparing supplied artwork
A paper margin from a scan is obvious once it reaches a press sheet. A threshold set for the slightly warm tone of scanned paper handles most of them.
Ecommerce managers
product listings
Platforms that add their own frame to white products produce a doubled edge. Removing the original first keeps the tile looking deliberate.
How detection works, and what to watch for when a border is close in color to the content.
Upload an image with an unwanted border, tune the threshold if the band is not a clean color, and download the artwork trimmed on exactly the sides that needed it.
Trim the borderSmaller files, same picture.