Trim transparent image margins and inspect faint edges
Trimming empty space outside transparent PNG or WEBP artwork can tighten the canvas around a logo. The visible-pixel threshold determines whether faint shadows contribute to the detected bounds of that artwork.

How to use this tool
- Choose files in PNG, WEBP format. Maximum files per batch: 100.
- Review Alpha threshold (%), Padding (px), Output quality (%), then start processing.
- Download the PNG result and check its content and quality.
Choose the right settings
Set the alpha threshold and enter the padding to retain in pixels. To keep weak shadows, compare a lower-threshold result with the edges of the source rather than choosing only by final size.
- Supported input
- PNG, WEBP
- Output
- PNG
- Available settings
- Alpha threshold (%)
- Padding (px)
- Output quality (%)
Before you start
Prepare a representative source
Start with a copy of the source and decide where the result will be used. A picture for later editing, an upload with fixed dimensions and a printed page have different requirements. Check the supported input and intended output in this guide; a new filename extension alone does not convert the file.
Where size, quality, background or crop controls are available, change one choice at a time on a representative image. Include small lettering and an important edge in your comparison. If the task extracts information rather than changing the picture, decide which source region and values you need to inspect.
Write down the recipient’s requirements and the choices used for a trial, including output type and any size or background setting that applies. If a detail is already blurred, cropped or absent in the original, changing an output setting will not supply the missing evidence. Compare an intermediate copy separately from the original: it may already contain changes from a previous step. This record helps you decide whether to correct the source, revise one choice or use a different supported operation.
Compare the result with its source
Open the downloaded output in the program that will actually use it. For image outputs, compare the same area at the same zoom, inspect all edges and read the saved dimensions and file size. For extracted text, measurements or color values, check sample entries directly against the visible source; a plausible-looking result can still be wrong.
If the output differs from the preview or cannot be created, check the input format, this tool’s limits and the selected settings before changing the source. Repeating compression or enlarging a small image cannot restore detail already lost. Keep the original so another trial starts from the same evidence.
Example input and output
transparent logo with margins → trimmed logoExamples describe the workflow. Results depend on the source file and settings.
Check the saved result before using it
Inspect the saved PNG's outline and all four boundaries. Compare faint shadows and thin strokes for clipping, and review the new canvas dimensions before placing the artwork in a layout.
If the result is different from what you expected
No visible region is found if every pixel falls below the chosen threshold. This tool does not remove an opaque white background, so confirm that the source actually contains transparency.
Limits to keep in mind
- A white background is opaque and will not be removed. Higher thresholds can cut off faint edge pixels.
Continue with a related tool
This guide explains the public browser tool. Keep a copy of the original and inspect the result before sharing it.