Crop many images by percentage

Record Crop Image in percentage mode, then run that saved chain on local images. Each file keeps the same relative frame, the pictures are not uploaded, and failures do not stop the rest of the batch.

Last updated:

You need the same relative crop on many pictures of different sizes, without uploading them. Percentage mode on Crop Image is the step that makes that batch honest. A fixed pixel box would clip a small image differently from a large one.

The input is a set of local images the crop tool accepts: JPEG, PNG, WebP, AVIF, GIF, BMP, ICO, or HEIC. SVG is not an editing input. The chain you record should start with Crop Image, because the batch’s first step has to accept a file.

  1. Open Crop Image and switch Crop from Dimensions to Percentage. Set the origin and the width and height as percentages of that picture.
  2. Crop one image successfully so the chain drawer can record the step, including those percentage controls. Pixel mode is the default on a fresh page, so an older saved step that you did not switch still uses pixels.
  3. Save the chain. The record holds the step, not the image. See Run a saved Tool Chain on local files for the difference between that record and the 30-minute tab handoff.
  4. Run the batch and choose the local files. Each file is cropped from its own width and height. Successful crops are zipped in the browser. A file that fails is named in failures.txt, and the batch continues.

The expected output is one cropped image per successful file, inside a ZIP. GIF input keeps the first frame on an edit. A HEIC edit cannot be written as HEIC, so the result becomes PNG. JPEG, PNG, and WebP keep their format. Camera EXIF is not copied, because the crop is a new image.

The 250 MB and 40 million pixel guards still apply to every file. Percentage mode does not bypass them. Canvas drawing uses the browser canvas.

If the cropped PNG should also be resized, watermarked, and saved as WebP, record those later steps only when each one accepts the previous output. That longer recipe is Resize, watermark, and save WebP. How an image chain stays in the browser covers canvas size, which changes the canvas by a percentage and does not scale the picture.

Questions

Does a percentage crop upload the images?

No. Crop Image runs in the browser, and the batch reads the files you select on this device. The pictures are not uploaded.

Why not record a pixel crop for a mixed batch?

A pixel rectangle is the same box on every file. A percentage is relative to that file, so a wide photo and a square photo can keep the same relative frame.

What is stored in the saved chain?

The saved chain stores the crop step and the percentage controls. It does not store the images. File bytes exist only while that batch is running.

What if one image is too large?

That file fails, the reason is written into failures.txt inside the result ZIP, and the next file still runs. Files over 250 MB or 40 million pixels are refused.

All guides