-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to get png file from screencap command #59
Comments
The following screencap command works fine on My Device..
|
Hmm, interesting. Will have to look into this at some point. If if turns out that they really did remove the encoding, then for backwards compatibility we could probably do something like |
+1 |
Hi, I checked this issue on Mi 4 LTE (Marshmallow 6.0.1), It execute screencap command must be transformed by Linetransform. |
Feel free to create a PR, we can tweak it later! |
Signed-off-by: Mingyuan Xia <[email protected]> Signed-off-by: Mingyuan Xia <[email protected]>
* relint + convert to TS Signed-off-by: urielch <[email protected]> * replace some Bluebird buy vanilla Promise Signed-off-by: urielch <[email protected]> * use some async Signed-off-by: urielch <[email protected]> * rollback Signed-off-by: urielch <[email protected]> * update commanderJS Signed-off-by: urielch <[email protected]> * update test deps Signed-off-by: urielch <[email protected]> * update deps Signed-off-by: urielch <[email protected]> * update typing Signed-off-by: urielch <[email protected]> * update deps Signed-off-by: urielch <[email protected]> * updatedeps Signed-off-by: urielch <[email protected]> * prepare update Bluebird version Signed-off-by: urielch <[email protected]> * prepare update Bluebird 3 Signed-off-by: urielch <[email protected]> * fix Buffer usage Signed-off-by: urielch <[email protected]> * small patches Signed-off-by: urielch <[email protected]> * bluebird 3 Signed-off-by: urielch <[email protected]> * update generator Signed-off-by: urielch <[email protected]> * remove callback + split client Signed-off-by: urielch <[email protected]> * clean code Signed-off-by: urielch <[email protected]> * clean Signed-off-by: urielch <[email protected]> * test are now run as TS Signed-off-by: urielch <[email protected]> * add 'client.getPackagesWithFlags' for flags in 'pm list packages' (openstf#56) Issue: DeviceFarmer#55 Signed-off-by: ov3rk1ll <[email protected]> Signed-off-by: urielch <[email protected]> * add flag argument to client.getPackages openstf#56 Signed-off-by: urielch <[email protected]> * add showcase long-running shell commands (openstf#59) Signed-off-by: urielch <[email protected]> * update doc Signed-off-by: urielch <[email protected]> * more typing, more docs Signed-off-by: urielch <[email protected]> * update doc Signed-off-by: urielch <[email protected]> * patch package..json Signed-off-by: urielch <[email protected]> * roll back tab size from 4 to 2. Signed-off-by: urielch <[email protected]> * update doc Signed-off-by: urielch <[email protected]> * fix tesrt unit Signed-off-by: urielch <[email protected]> * Extend original `getPackages` method, keep compatibility (openstf#61) * Extend original `getPackages` method, keep compatibility Signed-off-by: Sergey Volkov <[email protected]> * Rename local single character variables Signed-off-by: Sergey Volkov <[email protected]> Signed-off-by: urielch <[email protected]> * publish project Signed-off-by: urielch <[email protected]> * last cleanup Signed-off-by: urielch <[email protected]> * resync original package name. Signed-off-by: urielch <[email protected]> * Update README.md. Add @DeviceFarmer scope (openstf#50) Signed-off-by: Sergey Volkov <[email protected]> Signed-off-by: urielch <[email protected]> * add 'client.getPackagesWithFlags' for flags in 'pm list packages' (openstf#56) Issue: DeviceFarmer#55 Signed-off-by: ov3rk1ll <[email protected]> Signed-off-by: urielch <[email protected]> * Update README.md Signed-off-by: urielch <[email protected]> * fix merge error Signed-off-by: urielch <[email protected]> * merge Signed-off-by: urielch <[email protected]> * clean merge error Signed-off-by: urielch <[email protected]> Co-authored-by: ov3rk1ll <[email protected]> Co-authored-by: Sergey Volkov <[email protected]>
I use adbkit on Android 7.1.1 (Nexus 5X), and call client.screencap() api, when I pipe the stream to fs.createWriteStream("/tmp/a.png").
I got an invalid png format file.
But when I remove "LineTransform" Module in screencap command, it works fine..
So, I don't know if the linetransform should be deprecated ?
The text was updated successfully, but these errors were encountered: