Image Converter
object ImageConverter
Image converter helper.
Properties
Functions
Link copied to clipboard
Creates an android.graphics.Bitmap based on provided ByteArray that contains image.
Converts a YUV 420 to ByteBuffer if possible.
Link copied to clipboard
Encodes provided argb buffer to NV21.
Link copied to clipboard
In native, Merges YUV planes of Image with 180 degrees rotation.
Link copied to clipboard
NOT THREAD SAFE Uses workBuffer to retain data while rotating
Link copied to clipboard
Link copied to clipboard
Merges Image.getPlanes if possible. The ByteBuffer is direct. See ByteBuffer.isDirect.
Link copied to clipboard
Converts an android.graphics.Bitmap to ByteBuffer stored as EImagePixelFormat.ALPHA_8. The ByteBuffer is direct. See ByteBuffer.isDirect.
Link copied to clipboard
Converts an android.graphics.Bitmap to ByteBuffer stored as EImagePixelFormat.BGR_888. The ByteBuffer is direct. See ByteBuffer.isDirect.