kornelski / mediancut-posterizer

Lossy PNG compressor for RGBA PNGs. Has two modes: lossy averaging filter (blurizer) that denoises the image and optimal posterization using Median Cut quantization to reduce number of unique colors in the image with minimal visual distortion

Home Page:https://pngmini.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Posterizer in linux

howelin opened this issue · comments

commented

mediancut-posterizer how to install in linux?

  1. Ensure you have libpng and zlib installed, e.g. apt-get install libpng-devel zlib-devel or yum install libpng-devel zlib-devel
  2. Run make
commented

apt-get install libpng-devel zlib-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpng-devel
E: Unable to locate package zlib-devel
root@li610-214:/usr/src/mediancut-posterizer-master#

Can't install libpng and zlib,I have installed libpng-devel、zlib-devel and run make.It has no error,
30a83d82-6b58-47f9-b1c8-391e03e7af9c
qq20140117163615

If make ran without error, then ./posterize has been made. Note that usually you have to run commands with ./ prefix (or full path to directory where they are) if you don't copy them to /usr/bin or such.