Skip to content

Instantly share code, notes, and snippets.

@psenough
Created June 23, 2017 01:56
Show Gist options
  • Save psenough/6cf9dffc97107779a6dd73546efa6abe to your computer and use it in GitHub Desktop.
Save psenough/6cf9dffc97107779a6dd73546efa6abe to your computer and use it in GitHub Desktop.
convert squared image to 300x300 jpg
#!/bin/bash
sips -z 300 300 "$1" -s format jpeg --out "00_300.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment