Skip to content

Instantly share code, notes, and snippets.

@xhacker
Created February 15, 2017 09:23
Show Gist options
  • Save xhacker/e4cafc34d55da70d593b11d51172205e to your computer and use it in GitHub Desktop.
Save xhacker/e4cafc34d55da70d593b11d51172205e to your computer and use it in GitHub Desktop.
Convert image to a 2x image
retinalize() { convert -density 144 -units pixelsperinch "$1" "$1" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment