aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4ddf32e..09a6e3d 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,12 @@ view: all
out/%.png: src/%.*
@mkdir -p out
- convert $< -fuzz $(FUZZ) -fill none -floodfill +0+0 white -resize $(SIZE)\> $@
+ magick $< \
+ -fuzz $(FUZZ) -fill none \
+ -floodfill +0+0 white \
+ -floodfill "+%[fx:w-1]+0" white \
+ -trim +repage \
+ -resize $(SIZE)\> $@
clean:
rm -rf out