Convert NV21 byte array into bitmap readable format [duplicate]
问题 This question already has answers here : How to use ScriptIntrinsicYuvToRGB (converting byte[] yuv to byte[] rgba) (5 answers) Closed last year . Hey I'm creating small camera app I have implemented every things but I have one problem which is converting NV21 byte array into jpeg format I have found many way but all of them even not working or work on some devices firstly i tried this snippet and it work on Xperia z2 5.2 but on galaxy s4 4.4.4 bitmap = BitmapFactory.decodeByteArray(data, 0,