This project was a little test I made in my free time, so it's not exactly "user friendly". Feel free to edit the source yourself if you want something more of it.
png++, c++11 compatible compiler.
c++ main.cpp -Ofast -lpng -lpthread -o main -std=c++11