~sotirisp/tappeto

Fix memory leak when re-tiling an image
Reduce code duplication in main

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~sotirisp/tappeto
read/write
git@git.sr.ht:~sotirisp/tappeto

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

#tappeto

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.

An image generated by tappeto An image generated by tappeto
tappeto -t 3 -b 212529 -f 0062CC -r 1920x1080 tappeto -t 4 -b FFFFFF -f 0062CC -r 640x480

#Installation

The dependencies are:

  • A C99 compiler.
  • A POSIX system with sh, awk and make.
  • scdoc for building the manpages.
  • SDL2 and 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

#License

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.