minicap icon indicating copy to clipboard operation
minicap copied to clipboard

Remote debugging screen color distortion

Open guixiangzi19 opened this issue 7 years ago • 6 comments

**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: minicap screencap

this is adb screen capture(adb shell /system/bin/screencap -p /sdcard/test.png): adb screencap

guixiangzi19 avatar Jun 04 '18 08:06 guixiangzi19

解决了吗?我也遇到这个问题, 输出的图片和用screencap命令 获取的明显颜色不对.

739988940 avatar Jun 26 '18 07:06 739988940

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.

sorccu avatar Jun 26 '18 07:06 sorccu

tim 20180626152739 minicap screencap i think this not about its color format,this is my Original Image and difference of them,and myphone is nexus 6

739988940 avatar Jun 26 '18 07:06 739988940

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

739988940 avatar Jun 27 '18 03:06 739988940

Which lib do you mean?

sorccu avatar Jun 27 '18 04:06 sorccu

I don't know , I have no idea

739988940 avatar Jun 27 '18 05:06 739988940