adb_screenshot_compressed
Capture an Android device screenshot and return metadata for compressing to a JPEG with ImageMagick, including file path, dimensions, and compression command.
Instructions
Take a screenshot and pull the full-resolution PNG, plus metadata for client-side compression. Returns local file path, dimensions, file size, and a ready-to-run imagemagick command for converting to a smaller JPEG. (Android doesn't ship imagemagick, so the actual compression is post-processing — this tool sets up everything you need.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | JPEG quality (10-100, default 50). Lower = smaller file, more artifacts | |
| scale | No | Scale factor (0.1-1.0, default 0.5). 0.5 = half resolution | |
| filename | No | Output filename (default: screenshot_compressed_<timestamp>.jpg) | |
| device | No | Device serial |