summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@telenet.be>2022-05-26 14:19:56 +0200
committerStijn Buys <ingar@telenet.be>2022-05-26 14:19:56 +0200
commitc7e37c328387f164aabb1430dc1d9788bcdd41d2 (patch)
tree6a8651d77abdd2c39085ebeb74218e73273bcbad
parentf9d22cbfd5753f0d458c78c11429a13c8f4ef1f4 (diff)
Renamed the program to clockimg.HEADmaster
-rw-r--r--LICENSE.txt (renamed from LICENSE)0
-rw-r--r--Makefile6
-rw-r--r--README.txt (renamed from README)18
-rw-r--r--clockimg.c (renamed from genclockimg.c)0
4 files changed, 13 insertions, 11 deletions
diff --git a/LICENSE b/LICENSE.txt
index 0a04128..0a04128 100644
--- a/LICENSE
+++ b/LICENSE.txt
diff --git a/Makefile b/Makefile
index 503a651..fbf925e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
+TARGET = clockimg
+SRC = clockimg.o cairo_jpg.o
+
CFLAGS = `pkg-config cairo libjpeg popt --cflags` -D_XOPEN_SOURCE -g
LDDFLAGS = `pkg-config cairo libjpeg popt --libs` -lm
-SRC = genclockimg.o cairo_jpg.o
-TARGET = genclockimg
-
$(TARGET): $(SRC)
gcc $(SRC) -o $(TARGET) $(LDDFLAGS)
diff --git a/README b/README.txt
index 69ae101..2545945 100644
--- a/README
+++ b/README.txt
@@ -1,7 +1,7 @@
-GENCLOCKIMG
+CLOCKIMG
- genclockimg is a small program to generate clock face images.
+ clockimg outputs clock face images to JPEG or PNG.
I made it to generate a time index watermark for my timelapse videos.
It is written in C and uses libjpeg, cairo and libpopt. These are fairly common
@@ -12,7 +12,7 @@ GENCLOCKIMG
BUILDING
- To build genclockimg you need libjpeg, libcairo, libpopt and
+ To build clockimg you need libjpeg, libcairo, libpopt and
their accompanying dev packages installed. You'll also need
a C compiler and GNU Make.
@@ -22,7 +22,7 @@ BUILDING
To test:
- ./genclockimg
+ ./clockimg
A file 'out.png' should appear.
@@ -63,17 +63,19 @@ EXAMPLES
Generate a series of clock images based on the timestamps of a series of source images:
- for file in *.jpg; do genclockimg -j -t `date -r "${file}" +"%H:%M"` -o "clock-${file}"; done
+ for file in *.jpg; do clockimg -j -t `date -r "${file}" +"%H:%M"` -o "clock-${file}"; done
LICENSE
- genclockimg is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser
+ clockimg is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
- genclockimg is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ clockimg is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- You should have received a copy of the GNU General Public License along with genclockimg.
+ You should have received a copy of the GNU General Public License along with clockimg.
If not, see https://www.gnu.org/licenses/.
Copyright (c) 2022, Stijn Buys
+
diff --git a/genclockimg.c b/clockimg.c
index cb303d4..cb303d4 100644
--- a/genclockimg.c
+++ b/clockimg.c