https://github.com/minimagick/minimagick
class https://www.rubydoc.info/github/minimagick/minimagick/MiniMagick/Tool/Mogrify
各项参数 http://www.imagemagick.org/script/command-line-processing.php
基于jquery和mini_magick的图片裁剪 http://www.iteye.com/topic/541141
图片裁剪实例
image = MiniMagick::Image.open("14") image.crop("400x500+0+0") 裁剪尺寸 +0+0 裁剪起始位置 image.write("./output3.jpg")
http://www.graphicsmagick.org/GraphicsMagick.html
原文:https://www.cnblogs.com/znsongshu/p/9216740.html