No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Latest commit e4c5ea1 Apr 10, 2017 Ryan Lothian Create README for wear stitch script
Change-Id: I6883e17b92c161ca1438ce8d4c6c701857dce3de
Permalink
Failed to load latest commit information.
AUTHORS
CONTRIBUTING.md
LICENSE Add go/wear-stitch to devrel git repo ready for open-sourcing Mar 28, 2017
README
wear_screenshot_stitch.py

README

This is not an official Google product.

This script generates stitched-together screenshots of Android Wear UIs that
are too tall to fit on the screen all at once. It does by taking a screenshot,
scrolling a bit, taking another screenshot etc. until it reaches the bottom
of the screen. It then does some image processing to merge the screenshots
that were taken.

This works with real devices and with emulated watches.

Usage:

./wear_screenshot_stitch.py [--square] [--transparency] [--adb-args ...]

    --square                assume device has a square screen
                            (otherwise a circular screen will be assumed)

    --transparency          use alpha transparency for pixels around the corners
                            of the output that the circular screen chops off

    --adb-args              any arguments following this will passed to
                            adb directly