Skip to content

基于imagemagick的一个图片批处理脚本,批量转换图片大小,用来处理安卓各种分辨率的游戏图片素材

Notifications You must be signed in to change notification settings

longzhang/imageconvert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#usage : ##1. install imagemagick
brew install imagemagick
apt-get install imagemagick
imagemagick: http://www.imagemagick.org
##2. export.sh inputdir outputdir widthxheight
##example :

./export.sh ./input/ ./output/ 66.6666666667%x66.666666667% 
WARN : x  not *   
1280/1980=66.666666666666666% 
example will resize 1080p to 720p  

About

基于imagemagick的一个图片批处理脚本,批量转换图片大小,用来处理安卓各种分辨率的游戏图片素材

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages