title: Convert android.media.Image (YUV_420_888) to Bitmap
body: <p>I'm trying to implement camera preview image data processing using camera2 api as proposed here: <a href="https://stackoverflow.com/questions/25462277/camera-preview-image-data-processing-with-android-l-and-camera2-api">Camera preview image data processing with Android L and Camera2 API</a>.</p>
  
  <p>I successfully receive callbacks using onImageAvailableListener, but for future processing I need to obtain bitmap from YUV_420_888 android.media.Image. I searched for similar questions, but none of them helped.</p>
  
  <p>Could you please suggest me how to convert android.media.Image (YUV_420_888) to Bitmap or maybe there's a better way of listening for preview frames?</p>