title: Detach Image produced from ImageReader
body: <p>I trying to create an Android App that using Camera2 API, as part of the functionality I want to develop a module that saving multiple images produced by ImageReader as followed:</p>
  
  <blockquote>
    <p>Image image = reader.acquireLatestImage();</p>
  </blockquote>
  
  <p>I'm getting the followed Exception:</p>
  
  <blockquote>
    <p>IllegalStateException  too many images are currently acquired</p>
  </blockquote>
  
  <p>as mentioned in the documention:
  <a href="https://developer.android.com/reference/android/media/ImageReader#acquireLatestImage()" rel="nofollow noreferrer">https://developer.android.com/reference/android/media/ImageReader#acquireLatestImage()</a></p>
  
  <p>This is because the image returned from 'acquireLatestImage' is still belongs to the ImageReader Queue.</p>
  
  <p>Is there any way to detach images returning from 'ImageReader' ?<br>
  Is there a way to copy an image, preferably without to store it on disk, that is a resource consuming operation ?</p>
  
  <p>Thank's </p>