Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
/ scrollshot Public archive

A bash script for automatically scrolling and stitching screenshots of Android apps.

License

Notifications You must be signed in to change notification settings

ericleong/scrollshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scrollshot

A bash script for automatically scrolling and stitching screenshots of Android apps. Detects and accounts for overlapping pixels.

requirements

api

$ scrollshot.sh <filename> <iterations> <footer keep> <footer ignore> <distance> <start> <overlap> <end>
argument default purpose
filename scrollshot name of the output file, without .png
iterations 3 number of iterations to scroll
footer keep auto bottom area to keep in output and ignore when scrolling (in pixels)
footer ignore 0 additional bottom area to ignore when scrolling (in pixels)
distance 2 * dpi distance to scroll per iteration (in pixels)
start -4dp initial overlap test offset (in pixels)
overlap 20dp height of overlap test area (in pixels)
end 4dp final overlap test offset (in pixels)

tips

  • Keep the floating action button from repeating with footer ignore set to about 78dp.
  • To preserve spacing in apps with a lot of whitespace (identical vertical pixels), increase overlap.
  • Blinking cursors will fool the automatic footer detection.

About

A bash script for automatically scrolling and stitching screenshots of Android apps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages