Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mandarl/device-art
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarl committed Aug 29, 2016
2 parents 5c3a5bb + 08e1a2a commit e617279
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/ios-screengrab.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

#capture screenshot using libimobiledevice, brew install libimobiledevice to install
idevicescreenshot screen.tiff

#convert tiff to png
sips -s format png screen.tiff --out screen.png

#frame the screenshot
device-art --input-image=screen.png --device=iphone_6_plus

0 comments on commit e617279

Please sign in to comment.