Closed pweglik closed 6 months ago
getFormat
, but those int values come from: https://developer.android.com/reference/android/graphics/ImageFormat and https://developer.android.com/reference/android/graphics/PixelFormat#RGBA_8888
I'm not really proficient in JNI and native code, so for now I left hardcoded in C++.Looking forward to the new release with this support for Android ❤️
I'm not sure about C++ and Kotlin practices, but I added function that performs RGBA -> ARGB frame buffer conversion. This way, you can use resize plugin with Skia Frame processor from vision camera v4.