aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2026-04-07 18:26:46 +0200
committerLizzy Fleckenstein <lizzy@vlhl.dev>2026-04-07 18:26:46 +0200
commit4a3b45c4eec7b51a218bb282b0a70560f408e6da (patch)
treecf78be7ef1587e188d783f5b7a7184e3b14c003b
parent7d2fd91a8572c4cfa1593fad8b08787202b93d01 (diff)
downloadusermoji-4a3b45c4eec7b51a218bb282b0a70560f408e6da.tar.xz
add heart
-rw-r--r--Makefile8
-rw-r--r--heart.pngbin0 -> 2644 bytes
-rwxr-xr-xmkheart2
3 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d557eccf..0fc4fc1d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
USERS != ls plain | xargs basename -s .png
-all: plain cube thoughts pets ball
+all: plain cube thoughts pets ball heart
out/plain/%.png: plain/%.png | out/plain/
cp $< $@
@@ -17,6 +17,9 @@ out/thoughts/%thoughts.png: plain/%.png mkthoughts thoughts/ | out/thoughts/
out/ball/%ball.png: plain/%.png tools/spherize | out/ball/
./tools/spherize -a 1.2 -b none $< $@
+out/heart/%heart.png: plain/%.png ./mkheart | out/heart/
+ ./mkheart $< $@
+
out/%/:
mkdir -p $@
@@ -25,9 +28,10 @@ cube: $(patsubst %, out/cube/%cube.gif, $(USERS))
pets: $(patsubst %, out/pets/%pets.gif, $(USERS))
thoughts: $(patsubst %, out/thoughts/%thoughts.png, $(USERS))
ball: $(patsubst %, out/ball/%ball.png, $(USERS))
+heart: $(patsubst %, out/heart/%heart.png, $(USERS))
clean:
rm -rf out
-.PHONY: all plain cube thoughts pets ball
+.PHONY: all plain cube thoughts pets ball heart
.NOTPARALLEL: cube
diff --git a/heart.png b/heart.png
new file mode 100644
index 00000000..e6c6e34a
--- /dev/null
+++ b/heart.png
Binary files differ
diff --git a/mkheart b/mkheart
new file mode 100755
index 00000000..537a39e4
--- /dev/null
+++ b/mkheart
@@ -0,0 +1,2 @@
+#!/bin/sh
+magick "$1" \( heart.png -resize $(magick identify -ping -format '%wx%h' "$1") \) -compose copy-opacity -composite "$2"