zekesonxx / fargo

Flattens dirty alphas, removes ghost data, optimized.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fargo

Flattens alpha, removes ghosts, optimized.

Why?

A lot of digital artists either do not flatten their opaque images before publishing, or paint directly on transparent backgrounds, which leave very small amounts of semi-transparent pixels in an image designed to be fully opaque.

Optipng is a good tool for automatically optimizing images, but it doesn't ever reduce available data. Specifically, if an image has even one pixel with a different alpha, the entire image will keep the alpha layer, wasting space.

Fargo attempts to remedy this by ignoring the alpha layer, unless there is a large amount of alpha pixels. This saves a lot of data (15% to 20% normally!), with no human visible quality loss.

Building and Installing

Requires ImageMagick 6 or 7.

git clone https://github.com/DaemonLee/fargo
cd fargo
make
sudo make install

About

Flattens dirty alphas, removes ghost data, optimized.

License:GNU General Public License v3.0


Languages

Language:C 83.4%Language:Makefile 16.6%