aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-08-14 03:06:07 +0300
committereug-vs <eugene@eug-vs.xyz>2021-08-14 03:06:07 +0300
commit96f9fe8121cc794e8308c9649b428d45d9877d96 (patch)
treede8d4b77f1846d8501c415b4ca938a2efa7b004f
parent91b9764d4d5f720ff552d9cb37d887c2923f1755 (diff)
downloadtelegram-based-wojak-96f9fe8121cc794e8308c9649b428d45d9877d96.tar.gz
fix: allow enlarge if the image is too small
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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