Skip to content

NemoAlex/PicTrim

Repository files navigation

PicTrim - Ultra-fast image processing tool

English | 中文 | 日本語 | 한국어 | Français | Deutsch

PicTrim is a high-performance batch image processing tool for resizing, compressing, rotating, and converting images.

Screenshot

PicTrim screenshot

Features

  • Mix image files and folders as input, or drag them directly into the app.
  • Batch resize by longest side, bounding box, fixed crop, width, or height.
  • Export JPG, PNG, and WebP, or keep the original format.
  • Configure quality, rotation, concurrency, upscaling, existing-file handling, and non-image file handling.
  • Preserve folder structure while showing live progress, stats, logs, and failures.

Performance

  • PicTrim is built to be an extremely fast batch image processing tool.
  • The core uses Rust and libvips for high throughput and low memory usage.
  • A streaming task queue plus multithreaded processing makes very large image sets practical.
  • Existing output files can be skipped, which is useful for repeated or incremental runs.

Usage

  1. Add image files or folders.
  2. Choose an output folder.
  3. Set the size, format, quality, and batch options.
  4. Click "Start".

Platform Support

  • macOS
  • Windows 10 / Windows 11 64-bit

Current release builds target macOS and Windows x64. Linux packages are not provided yet.

Development

npm install
npm run dev

Check the frontend build:

npm run build

Check the Rust side:

cd src-tauri
cargo check

Building or linking the Rust binary requires libvips to be installed locally.

macOS:

brew install vips

On Windows, use the official prebuilt libvips package and set VIPS_DIR to the extracted folder:

$env:VIPS_DIR = "C:\path\to\vips-dev-8.x"
$env:Path = "$env:VIPS_DIR\bin;$env:Path"

You can also refer to the official libvips installation guide.

Build

npm install
npm run tauri:build

After the build finishes, release/PicTrim/ contains the local portable build. GitHub Releases publish only the signed and notarized macOS DMGs for Apple Silicon and Intel, plus the Windows x64 installer.

Release Notes

macOS release builds are signed with a Developer ID certificate and notarized by Apple. Windows builds are currently unsigned and may show a SmartScreen warning on first launch.

See docs/release.md for the detailed release workflow.

License

PicTrim is released under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

20 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors