Fix memory leak when re-tiling an image
Fix error message
Reduce code duplication in main
A random tiled pattern image generator. It includes an SDL2 UI that allows quickly generating new images until a satisfactory one is found. See the tappeto(1) manpage for details.
tappeto -t 3 -b 212529 -f 0062CC -r 1920x1080 |
tappeto -t 4 -b FFFFFF -f 0062CC -r 640x480 |
---|
The dependencies are:
sh
, awk
and make
.scdoc
for building the manpages.pkg-config
(optional, for the GUI).To build tappeto
and its manpage run:
./configure
make
To install in /usr/local/
run the following as root:
make install
To install to some other directory, e.g. ~/.local/
run the following:
make PREFIX=~/.local/ install
Copyright 2022 Sotiris Papatheodorou
This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.