开发者

Slice an image into segments, is there any android libraries to do this?

Does android have any built-in features to slice an image into portions? For example, if I have an image loaded in my application (such as setting on in an ImageView), is it possible to slice that image up into 4 equal se开发者_JAVA技巧gments and display each one separately?

If there is nothing out of the box, which libraries would enable me to do this?

Thanks


If you're working with bitmaps, you can use Bitmap.createBitmap to extract sub-images.

Hope this helps,

Phil Lello

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜