2020-12-11 21:38:18 +03:00
# Curtail
2019-10-04 17:30:15 +03:00
2022-05-01 17:28:48 +03:00
< a href = "https://circle.gnome.org" > < img src = "gnome-circle-badge.svg" > < / a >
2021-01-17 13:02:05 +03:00
## Compress your images
2019-10-04 17:30:15 +03:00
2023-04-04 23:47:22 +03:00
Curtail (previously ImCompressor) is an useful image compressor, supporting PNG, JPEG, WebP and SVG file types.
2019-10-26 19:21:53 +03:00
It support both lossless and lossy compression modes with an option to whether keep or not metadata of images.
2019-10-08 16:47:21 +03:00
It is inspired by [Trimage ](https://github.com/Kilian/Trimage ) and [Image-Optimizer ](https://github.com/GijsGoudzwaard/Image-Optimizer ).
2019-10-04 17:30:15 +03:00
### Supported formats
2023-04-04 23:47:22 +03:00
PNG, JPEG, WebP, SVG
2019-10-04 17:30:15 +03:00
2019-10-08 16:57:05 +03:00
## Screenshot
2020-12-11 21:38:18 +03:00
![Curtail ](data/screenshots/screen1.png )
2019-10-08 16:57:05 +03:00
2019-10-04 17:30:15 +03:00
## Installation instructions
2019-10-09 15:05:48 +03:00
### Universal package for Linux (recommended)
2020-12-11 21:38:18 +03:00
Curtail is available as a flatpak package.
2019-10-09 15:05:48 +03:00
2020-12-11 21:38:18 +03:00
< a href = 'https://flathub.org/apps/details/com.github.huluti.Curtail' > < img width = '240' alt = 'Download on Flathub' src = 'https://flathub.org/assets/badges/flathub-badge-en.png' / > < / a >
2019-10-09 15:05:48 +03:00
You can also install it by using the following command-line:
2020-12-11 21:38:18 +03:00
flatpak install flathub com.github.huluti.Curtail
2019-10-12 12:21:42 +03:00
### Distro packages
2019-10-09 15:05:48 +03:00
2020-12-11 21:38:18 +03:00
[![Packaging status ](https://repology.org/badge/vertical-allrepos/curtail.svg )](https://repology.org/project/curtail/versions)
2021-05-11 20:32:07 +03:00
2022-10-14 20:10:38 +03:00
### Unofficial packages
A [PPA ](https://launchpad.net/~apandada1/+archive/ubuntu/curtail ) is available for Ubuntu (18.04+) and derivatives:
sudo add-apt-repository ppa:apandada1/curtail
sudo apt update
sudo apt install curtail
A [copr ](https://copr.fedorainfracloud.org/coprs/0xmrtt/curtail ) package is available for Fedora (36+):
sudo dnf copr enable 0xmrtt/curtail
sudo dnf install curtail
2021-05-11 20:32:07 +03:00
2019-10-04 17:30:15 +03:00
### Build from source (nightly)
Build and install by running:
2020-12-11 21:38:18 +03:00
git clone https://github.com/Huluti/Curtail.git
cd Curtail
2019-10-04 17:30:15 +03:00
meson _build
cd _build
ninja
sudo ninja install
The app can then be removed with:
sudo ninja uninstall
## Tech
2020-12-11 21:38:18 +03:00
Curtail uses a number of open source projects to work properly:
2019-10-04 17:30:15 +03:00
2023-03-20 19:52:28 +03:00
- [GTK 4 ](https://www.gtk.org )
2023-03-21 13:25:06 +03:00
- [Libadwaita ](https://gitlab.gnome.org/GNOME/libadwaita )
2019-10-04 17:30:15 +03:00
- [Python 3 ](https://www.python.org )
2023-04-04 13:44:36 +03:00
- [Oxipng ](https://github.com/shssoichiro/oxipng )
2019-10-17 14:29:58 +03:00
- [pngquant ](https://pngquant.org )
2019-10-26 15:49:28 +03:00
- [Jpegoptim ](https://github.com/tjko/jpegoptim )
2021-06-29 23:37:52 +03:00
- [libwebp ](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html )
2019-10-04 17:30:15 +03:00
2019-10-08 16:47:21 +03:00
## Donations
2019-10-08 19:50:22 +03:00
Do you like the app? Would you like to support its development? Feel free to donate.
2019-10-08 16:47:21 +03:00
2023-03-26 13:36:07 +03:00
[![Liberapay receiving ](https://img.shields.io/liberapay/receives/hugoposnic )](https://liberapay.com/hugoposnic)
[![Liberapay patrons ](https://img.shields.io/liberapay/patrons/hugoposnic )](https://liberapay.com/hugoposnic)
2019-10-08 16:47:21 +03:00
2019-10-04 17:30:15 +03:00
## License
GNU GENERAL PUBLIC LICENSE (v3)
2021-02-19 11:33:04 +03:00
**Free Software, Yeah!**