From 96f9fe8121cc794e8308c9649b428d45d9877d96 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 14 Aug 2021 03:06:07 +0300 Subject: fix: allow enlarge if the image is too small --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 09a6e3d..4c47f97 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,9 @@ all: $(OUTPUTS) view: all $(VIEW_COMMAND) out +viewsrc: + $(VIEW_COMMAND) src + out/%.png: src/%.* @mkdir -p out magick $< \ @@ -19,7 +22,7 @@ out/%.png: src/%.* -floodfill +0+0 white \ -floodfill "+%[fx:w-1]+0" white \ -trim +repage \ - -resize $(SIZE)\> $@ + -resize $(SIZE) $@ clean: rm -rf out -- cgit v1.2.3