Skip to content

Instantly share code, notes, and snippets.

@granbom
Created January 17, 2023 00:09
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 granbom/8471ad7d6a677902191db795497eed17 to your computer and use it in GitHub Desktop.
Save granbom/8471ad7d6a677902191db795497eed17 to your computer and use it in GitHub Desktop.
replace black colour to one new colour
mogrify -path "target/path/" +level-colors lightgray "source/path/*.png"
replace black and white image with new "color" (note the comma)
mogrify -path "target/path/" +level-colors lightgray, "source/path/*.png"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment