diff options
| author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2026-04-07 18:26:46 +0200 |
|---|---|---|
| committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2026-04-07 18:26:46 +0200 |
| commit | 4a3b45c4eec7b51a218bb282b0a70560f408e6da (patch) | |
| tree | cf78be7ef1587e188d783f5b7a7184e3b14c003b | |
| parent | 7d2fd91a8572c4cfa1593fad8b08787202b93d01 (diff) | |
| download | usermoji-4a3b45c4eec7b51a218bb282b0a70560f408e6da.tar.xz | |
add heart
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | heart.png | bin | 0 -> 2644 bytes | |||
| -rwxr-xr-x | mkheart | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -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 Binary files differnew file mode 100644 index 00000000..e6c6e34a --- /dev/null +++ b/heart.png 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" |
