Guides

Crop a banner to a precise region

Follow these steps using a local file and keep the original.

Crop a banner to a precise region
Actual local tool workspace with a synthetic sample.

Prepare the example

Reproduce with these original sample files: pattern-320x240.png. Make a copy before following any rename, truncation or byte-edit instruction.

Select the 320 × 240 sample and enter 40,30,240,180.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. Run the crop and verify the resulting 240 × 180 PNG dimensions.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

Observed tool output (English)
Output: 240 × 180 · 2878 bytes
Example output
pattern-320x240.png
Observed size
2878 bytes
SHA-256
9c5469b658a6fa444659d022ab9eeb40f789d97bba38ca55d1e49b906a370832

This digest describes the tested output; other encoders or versions may produce different bytes. Verify the expected properties, not only the digest.

Limitations and what to verify

Coordinates are pixels from the top-left corner. Cropping removes pixels outside the rectangle.

Open related toolDownload sample