Android memory analysis tool MAT: Export Bitmap, androidmat
For more information about MAT use, see blog: http://blog.csdn.net/nupt123456789/article/details/42584269
1. First Open the Inspector page of MAT, which is: Open Window> ShowView> Other...> Inspector in Eclipse.
2. Select the image object android. graphics. Bitmap and view the image information in Inspector, for example:
We need to note that the parameters are mHeight and mWidth, that is, the image height and width.
3. Export the mBuffer data of Bitmap and save it as xxxx. data. For example:
At this point, we have obtained the image data file xxxx. data and the image's width and height mWidth and mHeight. The next step is to use tools to convert the data into images.
4. Download GIMP software, mac: http://gimp.lisanet.de/Website/Download.html
5. run GIMP, "file"-> "open", and select the previously saved xxxx. data File, click open, modify the parameters according to mWidth and mHeight, and select "RGB Alpha" for the image type"
If it cannot be enabled correctly, adjust other parameters.
-------------------------------------------------------------------
For more information, the Android Development Alliance's QQ group: 272209595