Created
November 22, 2018 10:17
-
-
Save MikuAuahDark/488258b92335bd73fb1a5ce6f3ebd40b to your computer and use it in GitHub Desktop.
Simple makefile to zopflipng images from `old/` to`.`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SRC_FILES := $(wildcard old/*.png) | |
DST_FILES := $(patsubst old/%.png,%.png,$(SRC_FILES)) | |
all: $(DST_FILES) | |
%.png: old/%.png | |
zopflipng $< --lossy_transparent --filters=01234mepb --iterations=10 $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment