0
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Android】adbコマンドによる端末の画面キャプチャと画像リサイズまでの流れ

Last updated at Posted at 2017-07-22

Android端末の画面の静止画をキャプチャする手順

USBケーブルでPCとスマホ端末をつなぎ、
次のコマンドを順に実行

1.画面をキャプチャ

adb shell screencap -p /sdcard/screen.png

2.キャプチャ画像を端末からPCにダウンロード

adb pull /sdcard/screen.png

3.キャプチャ画像をリサイズ(例では高さを375にして横を自動で設定している)

sips --resampleHeight 375 screen.png --out screen.png
0
5
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?