图片处理工具(xConvert)
基于Python的图片处理工具具有等比缩放、水印、切割等功能,可以使用imagemagick或graphicsmagick进行处理默认graphicsmagick ( gm ) .
x = xConvert('/Data/demo.jpg', '/Data/upload/thumb/2010',{'w':300,'h':300} )
x.run()
基于Python的图片处理工具具有等比缩放、水印、切割等功能,可以使用imagemagick或graphicsmagick进行处理默认graphicsmagick ( gm ) .
x = xConvert('/Data/demo.jpg', '/Data/upload/thumb/2010',{'w':300,'h':300} )
x.run()
没有评论▼