Skip to content

Instantly share code, notes, and snippets.

@laurayco
Created August 28, 2020 01:34
Show Gist options
  • Save laurayco/b53395871e65db3c6f6274155c65f89c to your computer and use it in GitHub Desktop.
Save laurayco/b53395871e65db3c6f6274155c65f89c to your computer and use it in GitHub Desktop.
@echo off
pushd %1
for /r %%f in (*.png) do (
convert "%%f" -trim -geometry 1080x +dither -colors 16 -depth 4 "%%f"
)
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment