Open guixiangzi19 opened 6 years ago
解决了吗?我也遇到这个问题, 输出的图片和用screencap命令 获取的明显颜色不对.
I don't have that phone so I can't try it out. My guess is that the device lies about its color format. It might be BGRA instead of RGBA, for example. Try modifying the code and see if something changes.
i think this not about its color format,this is my Original Image and difference of them,and myphone is nexus 6
I have already find the cause of this problem,it's because minicap use turbojpeg , it can convert rgb to yuv,so it looks like distortion. could you use a lib instead turbojpeg to Keep original colors, and keep high speed. thanks
Which lib do you mean?
I don't know , I have no idea
I debug the phone(Hisense M30T) remotely on the stf platform, the screen color is distorted. Adb screenshot is a real display of the phone
The Phone model:Hisense M30T, android 6.0.1
Minicap is the latest version
this is minicap screen capture:
this is adb screen capture(adb shell /system/bin/screencap -p /sdcard/test.png):