diff options
author | eug-vs <eugene@eug-vs.xyz> | 2021-08-14 02:23:37 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2021-08-14 02:23:37 +0300 |
commit | 601fb64825806c71906941f68a97e8211c72d624 (patch) | |
tree | a8bf6ef0e7099122cdbe8f58282304828f4da1cd | |
parent | 53b16af3ef5f4d62e8b2319f2e2c60923e04f063 (diff) | |
download | telegram-based-wojak-601fb64825806c71906941f68a97e8211c72d624.tar.gz |
feat: crop stickers and more effectively remove bg
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |