@nirwannursabda - In your particular case, you could write the image to a canvas and read from it to get to where you want, plus it provides other benefits as well.
In the alternate, you can consider using 'Onymos Media Component' that solves this issue, on both iOS and Android on different OS versions and device formats... plus many other issues related to Media.