I know how to use adb screencap to capture and fetch the file with adb pull, but if I'm only interested in a 16x16 part of the screen, it would be very inefficient to capture and transfer the whole screen.
I'm not an android developer and I'm doing this in python, is it possible to get a part of the screen with adb or any other methods?