Image Magick by homebrew

2019-06-26  本文已影响0人  Jason数据分析生信教室

190626 16:50
考虑到以后要和同事共享,就不用中文了。

Install

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install imagemagick

How to use Image Magick

  1. Shrink image to 58.2958%
  2. Cut out 696x520 pixels
mogrify *.jpg -resize 58.2958% *.jpg
mogrify *.jpg -gravity center -crop 696x520+0+0 *.jpg

How to update Homebrew

New versions of Homebrew come out frequently, so make sure you update it before updating any of the other software components that you’ve installed using Homebrew. * In Terminal type brew update

How to Uninstall Homebrew

Just type

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

以上

上一篇下一篇

猜你喜欢

热点阅读