final BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; path="file:///storage/emulated/0/1/138242/2019-07-03114920.jpg" BitmapFactory.decodeFile(path, options);
BitmapFactory.decodeFile возвращает ноль