# Batch Image Trim

Trim multiple images simultaneously using various trimming methods with batch processing and ZIP output

> Canonical page: https://elysiatools.com/en/tools/batch-image-trim

- **Category:** Media

- **Keywords:** batch, trim, multiple, images, bulk, process, border, automatic, zip

## Overview

Batch Image Trim allows you to upload up to 20 images in JPEG, PNG, WebP, or TIFF formats and automatically crop out unwanted borders, solid background colors, or excess whitespace. With flexible trimming methods like auto-detection, color-based trimming, and tolerance adjustments, you can clean up product photos or scanned documents in bulk and download the results in a single ZIP archive.

## Inputs

- **Image Files (up to 20)** (file): Select up to 20 images to trim
- **Trim Method** (select): Select trimming method
- **Background Color** (color): Background color to trim for color-based method
- **Auto-detect Background** (checkbox): Auto-detect background color for color/tolerance methods
- **Trim Tolerance** (range): Tolerance for border detection (0-100)
- **Whitespace Sensitivity** (range): Sensitivity for whitespace detection (128-255)
- **Output Format** (select): Select output format
- **Image Quality (1-100)** (number): Enter image quality
- **Preserve Metadata** (checkbox): Keep EXIF and metadata
- **Create ZIP Archive** (checkbox): Package results in ZIP file
- **Keep Original Names** (checkbox): Use original filenames instead of adding prefixes

## When to use

- When you need to remove solid white or transparent borders from a batch of product images for an e-commerce catalog.
- When cleaning up scanned documents or digital sketches by stripping away excess outer whitespace.
- When preparing a gallery of graphics where consistent framing is required by trimming custom background colors to the edge of the subject.

## How it works

- Upload up to 20 images (JPEG, PNG, WebP, or TIFF) into the file selector.
- Select your preferred trimming method, such as auto-detecting borders, removing whitespace, or targeting a specific background color.
- Adjust parameters like trim tolerance, whitespace sensitivity, output format, and quality settings.
- Process the images and download the trimmed results as a packaged ZIP archive or individual files.

## Use cases

- E-commerce product photo optimization by stripping empty margins to maximize product visibility.
- Preparing scanned comic book pages or sketches by removing uneven paper borders.
- Cleaning up UI screenshots by trimming solid background colors around application windows.

## Frequently asked questions

### What image formats are supported for batch trimming?

You can upload JPEG, JPG, PNG, WebP, and TIFF images up to 50MB in total size.

### How does the tolerance-based trimming method work?

It detects and removes background pixels that are similar to the border color within a specified sensitivity range from 0 to 100.

### Can I preserve the original metadata of my images?

Yes, check the 'Preserve Metadata' option to keep EXIF and other metadata in the output files.

### What is the difference between auto-detect and color-based trimming?

Auto-detect automatically identifies the outer border color, while color-based trimming lets you specify a precise background color to remove.

### Do I have to download the trimmed images one by one?

No, by default the tool packages all processed images into a single ZIP archive for easy downloading.

## Related tools

- [Image Canvas Extender](https://elysiatools.com/en/tools/image-extend): Basic image canvas extension tool for adding space around images with various fill strategies
- [Image Padder](https://elysiatools.com/en/tools/image-pad): Advanced image padding tool with multiple fill strategies - transparent background, mirror, repeat, or solid colors
- [AI Image Upscaler](https://elysiatools.com/en/tools/image-quality-upscaler): High-quality image upscaling using advanced interpolation algorithms with sharpening enhancement
- [Blur Background Image Extender](https://elysiatools.com/en/tools/image-extend-blur-background): Extend image canvas with blurred background, perfect for portraits, product photos, and professional presentations
- [Gradient Image Extender](https://elysiatools.com/en/tools/image-extend-gradient): Extend image canvas with gradient backgrounds for modern design effects and smooth transitions
- [Image Blending Effect](https://elysiatools.com/en/tools/image-add-blending): Blend multiple images together using various blend modes for creative compositions and effects
- [Image Composite](https://elysiatools.com/en/tools/image-composite): Composite multiple images together with precise control over position, opacity, and blend modes
- [Image Noise Reduction](https://elysiatools.com/en/tools/image-noise-reduction): Reduce image noise using multiple algorithms including median, gaussian, and bilateral filtering

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion

## Related content

- [Batch Image Standardization and Compression](https://elysiatools.com/en/hubs/batch-image-standardization-and-compression): Prepare a consistent image set by correcting orientation, removing unwanted margins, applying one size policy, compressing files, and checking representative outputs before delivery.
