isabella232 / android-wear-stitch-script Goto Github PK
View Code? Open in Web Editor NEWThis project forked from google/android-wear-stitch-script
License: Apache License 2.0
This project forked from google/android-wear-stitch-script
License: Apache License 2.0
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 [-h] [--out-dir OUT_DIR] [--file-prefix FILE_PREFIX | --file-name FILE_NAME] [--adb-args ADB_ARGS] [--capture] | [--no-capture] [--round] | [--square] [--transparency] | [--no-transparency] [--inter-capture-delay INTER_CAPTURE_DELAY] [--keep-captures] | [--no-keep-captures] [--max-captures MAX_CAPTURES] Take Wear screenshots using adb and stitch them together optional arguments: -h, --help show this help message and exit --out-dir OUT_DIR The dirctory to output to. (default: the current directory) --file-prefix FILE_PREFIX The file prefix to use. An auto-incrementing index is added to generate the full filename so the previous captures are not overwritten. Mutually exclusive with --file-name. (default: stitch) --file-name FILE_NAME The name of the output file. This file will be overwritten. Mutually exclusive with --file-prefix. --adb-args ADB_ARGS Arguments for adb. Use quotes to keep arguments together. Bare flags should have a space. E.g. wear_screenshot_stitch.py --round --adb-args " -e" Capture options: --capture Capture new images to stitch. Contrast with --no- capture. (default) --no-capture Do not capture new images, just try to stitch existing images. Contrast with --capture. --round Set capture type for round displays, framing the stitched image with round borders. Contrast with --square. (default) --square Set capture type for square displays, framing the stitched image with square borders. Contrast with --round --transparency Use alpha transparency for pixels around the corners of the output that the round screen chops off --no-transparency Disable transparency --inter-capture-delay INTER_CAPTURE_DELAY How long to wait between captures, in ms, i.e. to give enought time for the scrollbar to disappear. (default: 1000) --keep-captures Keep the intermediary captured screens. Contrast with --no-keep-captures. --no-keep-captures Discard the intermediary captured screens. Contrast with --keep-captures. (default) --max-captures MAX_CAPTURES The maximum number of screens to capture. (default: 50)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.