Credits & Licenses
TrimImage runs entirely in your browser — no image is ever uploaded. The tools below are built with open-source software, and this page credits every third-party component, its authors and its license.
What each tool uses
✂️ Trim image
No third-party code. Plain HTML canvas pixel analysis written for this app.
⛶ Crop
No third-party code. Canvas selection, rotation and flipping written for this app.
🧽 Erase color
No third-party code. Color-distance matching, flood fill and brush compositing written for this app.
🪄 Remove background
Uses the AI segmentation stack credited below — the model runs locally on your device.
Open-source components
Used by the Remove background tool.
| Component | Author | Purpose | License |
|---|---|---|---|
| @imgly/background-removal v1.7.0 | IMG.LY GmbH | Runs the segmentation model in the browser | AGPL-3.0 |
| IS-Net (DIS) segmentation model | Xuebin Qin, Hang Dai, Xiaobin Hu, Deng-Ping Fan, Ling Shao, Luc Van Gool | Neural network that separates subject from background | MIT (upstream code Apache-2.0) |
| ONNX Runtime Web v1.21.0 | Microsoft | Executes the model on WebGPU / WebAssembly | MIT |
| ndarray | Mikola Lysenko | Tensor views over pixel buffers | MIT |
| lodash-es | OpenJS Foundation & contributors | Utility helpers | MIT |
| zod | Colin McDonnell | Configuration validation | MIT |
License texts: AGPL-3.0 · MIT · Apache-2.0
Model & asset delivery
The background-removal library is loaded from jsDelivr,
and the neural-network weights plus the WebAssembly runtime are downloaded from
IMG.LY's asset CDN (staticimgly.com) the first time you use that tool.
They are then cached by your browser. Your photo is never part of that traffic —
only the model travels, and it travels to you.
Research citation
The segmentation model comes from this paper. If you use it in academic work, please cite:
@InProceedings{qin2022,
author={Xuebin Qin and Hang Dai and Xiaobin Hu and Deng-Ping Fan and Ling Shao and Luc Van Gool},
title={Highly Accurate Dichotomous Image Segmentation},
booktitle={ECCV},
year={2022}
}
Source code
The Remove background tool builds on @imgly/background-removal, which is licensed
under the AGPL-3.0. That license asks anyone running the software over a network to
offer its users the complete corresponding source. TrimImage's source is available here:
IMG.LY also offers commercial licensing for projects that cannot publish their source — [email protected]. This page is attribution, not legal advice.
Privacy
Every tool on this site processes images locally with the HTML canvas API and, for background removal, a model running on your own device. No image data is uploaded, stored or tracked.