I'm taking a screenshot and transform it to Bitmap
Bitmap bitmap = null;
while (bitmap == null) { bitmap = BitmapFactory.decodeFile(path/filename.png); }
then i want to get pixel color
int pixel = bitmap.getPixel(x, y);
Log.i("Main", "color: " + "#" + Integer.toHexString(pixel));
and it works, but only when y<130. When y 140 and more i get only black color
2020-06-01 14:43:46.121 17451-17495/com. I/Main: color: #ff000000
screenshot resolution is 1920*1080. When i try load it in ImageView all is OK