开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜