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
精彩评论