A small programm for showing colorbars.
| .gitignore | ||
| colorbar.c | ||
| Makefile | ||
| PKGBUILD | ||
| PKGBUILD.static | ||
| README.md | ||
colorbar
colorbar shows colorbars. I wrote it to allow a basic configuration of my new BenQ monitor. This monitor doesn't allow to set R/B/G-values individually when connected via HDMI. With the images shown by colorbar it is possible, to set brightness and contrast to a good starting point before further calibration with a colorimeter.
It is guaranteed, that
- the colorbars are all of exactly the same width and height
- the lowest intensity is always 0 (black)
- the highest intensity is always 255 (white for RGB)
- the intensity increases in equal steps vom 0 to 255
The program needs the libgrx library compiled and installed, with png-support included.
Compiling
On Linux:
make: create a dynamically linked executable.make TARGET=static: create an executable with libgrx statically linked in.make TARGET=mingw: create a windows executable with libgrx statically linked in.
Executing
usage: colorbar [-h|--help]
while running:
| key | action |
| -------------------- | ---------------------------- |
| j/n/right/down/space | next image |
| pagedown/end | last image |
| pageup/home | first image |
| k/p/left/up | previous image |
| h | show horizontal bars |
| v | show vertical bars |
| q | quit |
| esc | restore start parameters |
| s/w | save current image as png |
| plus | increase number of colorbars |
| minus | decrease number of colorbars |
| mouse event | action |
| -------------------- | ---------------------------- |
| left button | next image |
| shift left button | prev image |
| right button | switch hor./vert. bars |
| shift right button | restore start parameters |
| middle button | quit |
| wheel up | increase number of colorbars |
| wheel down | decrease number of colorbars |