In Android, I have an ImageReader which emits images onImageAvailable
. I'm trying to forward those images to an ImageWriter
to preview on a SurfaceView
. When I attempt to do so, I receive the error stated above.
java.lang.IllegalStateException: Trying to attach an opaque image into a non-opaque ImageWriter, or vice versa
I looked around and I haven't found anyone else mention this issue. Does anyone know what it is talking about? The error seems to be in native code.