How to convert android.media.Image to bitmap object? : <p>In android, I get an Image object from here <a href="https://inducesmile.com/android/android-camera2-api-example-tutorial/" rel="noreferrer">https://inducesmile.com/android/android-camera2-api-example-tutorial/</a> this camera tutorial. But I want to now loop through the pixel values, does anyone know how I can do that? Do I need to convert it to something else and how can I do that?</p>

<p>Thanks</p>
