Skip to content

Image filter that pixelates PNG images using a lossy image compression algorithm

License

Notifications You must be signed in to change notification settings

ImageProcessing-ElectronicPublications/pngpaf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PNG Pixel Art Filter

Pixel Art Filter is an image filter that pixelates PNG images using a lossy image compression algorithm, written in C++ using clang and LodePNG.

  • lena.png [474756]
    origin
  • lena.paf100.png [256651] (./pngpaf images/lena.png images/lena.paf100.png)
    paf 100
  • lena.paf200.png [176850] (./pngpaf images/lena.png images/lena.paf200.png 200)
    paf 200
  • lena.paf500.png [105063] (./pngpaf images/lena.png images/lena.paf500.png 500)
    paf 500

See all samples images for PNG Pixel Art Filter

Prerequisites

To run this project, after cloning it:

Add LodePNG

LodePNG library is used to encode and deocde PNG images:

Deployment

To compile the project, use the command:

make

And once that is finished, run the project using:

./pngpaf input.png filter.png [tol=100] [pct=1.000000]

You can also remove the compiler output files by running the command:

make clean

2020

About

Image filter that pixelates PNG images using a lossy image compression algorithm

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.4%
  • Makefile 1.6%