Generate fully transparent PNG images
libdeflate is now a dependency
Be more precise if the file size is wrong


browse  log 



You can also use your local clone with git send-email.


The pngblank utility generates fully transparent PNG images.


  1. Install
  2. Instructions
  3. License



  • C compiler ;
  • libz ;
  • libdeflate.


To install globally:

$ ./configure
$ make
# make install

To install in your $HOME/bin:

$ ./configure PREFIX=~
$ make
$ make install


To see a description of its options see the man page.

pngblank can generates images using various colour modes, bit depths and compression level.

For a 2,5 kilobytes monstrosity one can type:

$ pngblank -l 1 -s huffmanonly 80 > big.png
$ ls -ngh big.png
-rw-r--r--  1 0   2.5K Apr 24 12:43 big.png

But if you prefer your files small and lean pngblank got you covered too:

$ pngblank -g -b 1 80 > small.png
$ ls -ngh small.png
-rw-r--r--  1 0    88B Apr 24 12:43 small.png


All the code is licensed under the ISC License. It's free, not GPLed !