Skip to content

Instantly share code, notes, and snippets.

@MikuAuahDark
Created November 22, 2018 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikuAuahDark/488258b92335bd73fb1a5ce6f3ebd40b to your computer and use it in GitHub Desktop.
Save MikuAuahDark/488258b92335bd73fb1a5ce6f3ebd40b to your computer and use it in GitHub Desktop.
Simple makefile to zopflipng images from `old/` to`.`
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