https://github.com/hopson97/balic
Bad And Lossy Image Compressor: The perfect compressor (which doesn't actually compress, just lowers image quality giving the impression of compression) for all your lossy needs, created using C++ and SFML
https://github.com/hopson97/balic
Last synced: 4 months ago
JSON representation
Bad And Lossy Image Compressor: The perfect compressor (which doesn't actually compress, just lowers image quality giving the impression of compression) for all your lossy needs, created using C++ and SFML
- Host: GitHub
- URL: https://github.com/hopson97/balic
- Owner: Hopson97
- License: gpl-3.0
- Created: 2018-10-10T07:36:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-18T17:38:50.000Z (about 4 years ago)
- Last Synced: 2025-03-10T17:30:01.465Z (over 1 year ago)
- Language: CMake
- Homepage:
- Size: 381 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Balic
Bad and Lossy Image Compressor
A program that "compresses" the quality of an image, allowing you view the process while it happens.
It does this by looking at pixel, and then doing a recursive flood fill until it cannot find anymore pixels of a similiar colour. This continues until the entire image has been "compressed".
This program does actually compress the image, it is just a name for a joke, as image compressing usually results in loss of image quality.
## Building
Requires SFML library
On Ubuntu:
```
sudo apt-get install libsfml-dev
```
Building:
```
git clone https://github.com/Hopson97/Balic.git
cd Balic
cmake .
make
```
## Running
```
./balic
```
Example:
```
./balic chinatown.jpg out.jpg
```
## Example
Flood fill compress:


Fullsize:

Line Compression:

Image source: https://streeteasy.com/blog/chinatown-still-nycs-best-real-estate-bargain/