Skip to content

Instantly share code, notes, and snippets.

@Geri-Borbas
Created March 13, 2020 15:51
Show Gist options
  • Select an option

  • Save Geri-Borbas/f5a29fe32368ae6b6385170de0c6d53b to your computer and use it in GitHub Desktop.

Select an option

Save Geri-Borbas/f5a29fe32368ae6b6385170de0c6d53b to your computer and use it in GitHub Desktop.
Set DPI resolution (to 300) of every image in a folder (using ImageMagick).
for f in *; do convert -density 300 -units pixelsperinch "$f" "$f"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment