https://github.com/tleguern/pngblank
The pngblank utility generates fully transparent square pictures.
https://github.com/tleguern/pngblank
openbsd png png-image-generate
Last synced: about 1 month ago
JSON representation
The pngblank utility generates fully transparent square pictures.
- Host: GitHub
- URL: https://github.com/tleguern/pngblank
- Owner: tleguern
- License: isc
- Created: 2020-04-23T13:50:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T23:01:32.000Z (over 3 years ago)
- Last Synced: 2025-07-29T03:49:10.775Z (11 months ago)
- Topics: openbsd, png, png-image-generate
- Language: C
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pngblank
The pngblank utility generates fully transparent PNG images.
## Contents
1. [Install](#install)
2. [Instructions](#instruction)
3. [License](#license)
## Install
### Requires
* C compiler ;
* libz ;
* libdeflate.
### Build
To install globally:
$ ./configure
$ make
# make install
To install in your `$HOME/bin`:
$ ./configure PREFIX=~
$ make
$ make install
## Instructions
To see a description of its options see the [man](./pngblank.md) 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
## License
All the code is licensed under the ISC License.
It's free, not GPLed !