One can take heap dump using
```
adb shell am dumpheap -b png <packagename> /data/local/tmp/<FileName>.hprof
```
pull the heap dump using
```
adb pull /data/local/tmp/<FileName>.hprof
```
And then import the heap dump in android studio. Upon clicking a bitmap there would be a button to view "Bitmap Preview"
One can take heap dump using
```
adb shell am dumpheap -b png <packagename> /data/local/tmp/<FileName>.hprof
```
pull the heap dump using
```
adb pull /data/local/tmp/<FileName>.hprof
```
And then import the heap dump in android studio.
Upon clicking a bitmap there would be a button to view "Bitmap Preview"