title: ImageWriter alternative for android 19-22?
body: <p>In version 23 of the android API there was the introduction of the class <a href="https://developer.android.com/reference/android/media/ImageWriter.html" rel="noreferrer">ImageWriter</a>.
  I need to use this class in an app that should run on api 19.
  How can I re-implement the class? Is there some equivalent code (I have an Image instance I need to draw to a surface)?</p>