oo! As long as we're sharing our favourite terminal tips, here's mine: In your .bash_profile, add this line:
alias imgsz='sips -g pixelWidth -g pixelHeight' sips stands for "scriptable image processing system"[1], and provides terminal users with a toolset for inspecting and manipulating images. The alias above is really useful for web developers who need a quick look at how big a given image is:
Comments (395) 107 threads
Show all comments
Showing thread 7 of 107
alias imgsz='sips -g pixelWidth -g pixelHeight'
[1] https://developer.apple.com/library/mac/documentation/Darwin...sips stands for "scriptable image processing system"[1], and provides terminal users with a toolset for inspecting and manipulating images. The alias above is really useful for web developers who need a quick look at how big a given image is: