Create striped farbfeld(5) formatted images

kd c4edb0d9ce Initial commit 5 years ago
LICENSE c4edb0d9ce Initial commit 5 years ago
Makefile c4edb0d9ce Initial commit 5 years ago
README c4edb0d9ce Initial commit 5 years ago
ffstripe.1 c4edb0d9ce Initial commit 5 years ago
ffstripe.c c4edb0d9ce Initial commit 5 years ago

README

NAME
ffstripe – create striped farbfeld(5) formatted images

SYNOPSIS
ffstripe [-v] [-h height] [-w width] color

DESCRIPTION
ffstripe writes a striped farbfeld(5) image to the standard output.

The arguments are as follows:

-h height
Set the height of the created image.

-v Use vertical stripes, as opposed to horizontal.

-w width
Set the width of the created image.

color color can either be a hexidecimal color triplet, or a comma
separated decimal triplet.

The following are roughly equivalent:

03F
0033FF
000333FFF
00003333FFFF
0.0,0.2,1.0
0,0.2,1

Colors can also be weighted by attaching an integer with a colon:

0033FF:2

EXAMPLES
Generate an square image of vertical RGB stripes, with the green being
three-halfs the size of the other two.

ffstripe -v -h512 -w512 F00:2 0F0:3 00F:2 > image.ff

EXIT STATUS
The ffstripe utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
farbfeld(5)