美文网首页
Image Magick by homebrew

Image Magick by homebrew

作者: Jason数据分析生信教室 | 来源:发表于2019-06-26 12:14 被阅读0次

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

Install

  • Download and install Xcode
  • Use terminal to install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • install image magick

brew install imagemagick

How to use Image Magick

  • For CM, you have to do next two steps.
  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)"

以上

相关文章

网友评论

      本文标题:Image Magick by homebrew

      本文链接:https://www.haomeiwen.com/subject/ekiqcctx.html