These snippets allows grabbing a screenshot of a View or Activity as a bitmap.
There are special version to make this work on SurfaceViews and TextureViews.
All snippets tagged with bitmap
Page 1 of 1Take a screenshot of a view
Share a bitmap
Sharing a bitmap requires saving it to file before sharing.
Read more…Rotate a bitmap according to the file's EXIF data
Loads a bitmap from a file, and applies the rotation that is specified in the EXIF data of the file.
Read more…Glide bitmap transformations
Various bitmap transformations that can be used with Glide to manipulate bitmaps.
Read more…