# 📥 Comepress
#### Super trivial app to optimize your web project by converting all PNG, JPG and JPEG images to Next-Gen WebP format
Just drag and drop your files or folders and that's it!
![image](https://user-images.githubusercontent.com/25067102/185523884-85b1731c-c4c7-4b90-bf39-c1eab6107a54.png)
![comepress](https://user-images.githubusercontent.com/25067102/185751405-2dedb81b-7e40-4332-947e-decad890a87b.gif)
Reduce your image bundle size by 40-80%
That means faster site loading for users and smaller project size!
Here's a small comparison:
Without Comepress |
With Comepress |
![image](https://user-images.githubusercontent.com/25067102/185750498-91c1bf0a-d094-4caf-9eda-5054a5c990dc.png) |
![image](https://user-images.githubusercontent.com/25067102/185750604-d87f63e4-37da-4f36-91b8-717aaffd48b9.png) |
With Comepress I easily got over 43% space gain!
The images generated by Comepress are currently lossy but the quality is indistinguishable, so you can use this in production without any worries.
Installation 👨💻
Linux 🐧
- Download the Linux version from here: https://github.com/NayamAmarshe/comepress/releases/latest
- Extract the 7z file.
- Double click and run the
comepress
executable file.
MacOS 🍎
Coming Soon
Windows 🔳
Coming Soon
Build Instructions 🛠
Please help me generate builds for MacOS and Windows.
- Install dependencies:
pip3 install pyqt5 pyinstaller
- To run comepress as is, run:
python3 comepress.py
- To build comepress:
pyinstaller comepress.py --add-data "./res/*:res" --onefile --icon='res/inbox_tray_3d.ico' --windowed
An executable file will be created in dist
folder.
Credits ⛑
- @TGS963 for helping me with the project.
- Microsoft for their open source Fluent 3D Emoji Icons.
- Python and Qt5