开发者

How to slice big picture on small pieces (256x256) for PhotoScroller

开发者 https://www.devze.com 2023-01-28 16:34 出处:网络
I have a big picture (3000x3000)pixels.How can i slice it on 开发者_如何学Pythonsmall pieces (256x256)? If you simply want to do this at build time, rather than run time, try using the ImageMagick \'c

I have a big picture (3000x3000)pixels. How can i slice it on 开发者_如何学Pythonsmall pieces (256x256)?


If you simply want to do this at build time, rather than run time, try using the ImageMagick 'crop' option

convert -crop 256x256 myoriginal.png mytiles_%d.png
0

精彩评论

暂无评论...
验证码 换一张
取 消