head to head · open source
rembg vs libvips
rembg has 25,301 GitHub stars, 2,467 forks, 3 open issues and last shipped yesterday. libvips has 11,779 stars, 802 forks, 78 open issues and last shipped yesterday. rembg leads on adoption by 115% (25,301 vs 11,779 stars). rembg is written in Python under MIT; libvips is written in C under LGPL-2.1. rembg has attracted 10% as many forks as stars, libvips 7%. libvips was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (image-processing), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| rembg | libvips | |
|---|---|---|
| GitHub stars | ★ 25K | ★ 12K |
| License | MIT | LGPL-2.1 |
| Written in | Python | C |
| Last push | 2026-11-02 | 2026-11-02 |
| Forks | ⑂ 2.5K | ⑂ 802 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick rembg if
- You weight community size — 25K stars and counting
- You want the MIT license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick libvips if
- You want the libvips feature set and don't need the biggest community
- You prefer the LGPL-2.1 license terms
- Your stack matches C
- You evaluated both and libvips fits your workflow better
About rembg
Rembg is a tool to remove image backgrounds. It can be used as a CLI, Python library, HTTP server, or Docker container. Sponsors PhotoRoom Remove Background API Fast and accurate background remover API If this project has helped you, please consider making a donation. Requirements bash pip install "rembg[gpu]" for library pip install "rembg[gpu,cli]" for library + cli bash pip install "rembg[rocm]" for library pip install "rembg[rocm,cli]" for library + cli shell rembg help shell rembg help shell curl s rembg i output.png shell rembg i path/to/input.png path/to/output.png shell rembg i path/to/input.png →…
read the full rembg overview →
About libvips
libvips: an image processing library Introduction libvips is a demand driven, horizontally threaded image processing library. Compared to similar libraries, libvips runs quickly and uses little memory. libvips is licensed under the LGPL 2.1 or later. It has around 300 operations covering arithmetic, histograms, convolution, morphological operations, frequency filtering, colour, resampling, statistics and others. It supports a large range of numeric types, from 8 bit int to 128 bit complex. Images can have any number of bands. It supports a good range of image formats, including JPEG, JPEG 2000, JPEG XL, TIFF…
read the full libvips overview →
More in Miscellaneous
Related comparisons
More Photo & Video Editors projects
Compare either of these against the rest of the Photo & Video Editors field.
Frequently asked questions
Is rembg or libvips more popular?
rembg has 25,301 GitHub stars and libvips has 11,779. rembg has the larger community by that measure.
Are rembg and libvips free?
Both are open source. rembg is licensed under MIT and libvips under LGPL-2.1. Neither carries a licence fee.
What is the difference between rembg and libvips?
rembg is written in Python and libvips in C. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, rembg or libvips?
Choose rembg if you want the larger community (25,301 stars) or its MIT licence terms. Choose libvips if its feature set, stack or LGPL-2.1 licence fits better. Both are self-hostable.