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
https://pngmini.com
236 stars 32 forks source link

Posterizer in linux #7

Closed howelin closed 10 years ago

howelin commented 10 years ago

mediancut-posterizer how to install in linux?

kornelski commented 10 years ago
  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
howelin commented 10 years ago

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

kornelski commented 10 years ago

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.