Skip to content

Instantly share code, notes, and snippets.

@katapad
Created September 9, 2013 13:43
Show Gist options
  • Save katapad/6495752 to your computer and use it in GitHub Desktop.
Save katapad/6495752 to your computer and use it in GitHub Desktop.
画像のwidth, heightを取得するやつ
# jade
identify -format "src='img(%f', width=%w, height=%h, alt='')\n" *.(png|jpg|gif)
# coffee
identify -format "%f: width: %w, height: %h\n" *.(png|jpg|gif)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment