daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Jun 21st, 2015 256 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. f=$(pwd)
  3.  
  4. sips --resampleWidth 1024 "${f}/${1}" --out "${f}/iTunesArtwork@2x.png"
  5.  
  6. sips --resampleWidth 57 "${f}/${1}" --out "${f}/app-icon.png"
  7. sips --resampleWidth 114 "${f}/${1}" --out "${f}/app-icon@2x.png"
  8.  
  9. sips --resampleWidth 29 "${f}/${1}" --out "${f}/app-icon-29.png"
  10. sips --resampleWidth 58 "${f}/${1}" --out "${f}/app-icon-29@2x.png"
  11. sips --resampleWidth 87 "${f}/${1}" --out "${f}/app-icon-29@3x.png"
  12.  
  13. sips --resampleWidth 80 "${f}/${1}" --out "${f}/app-icon-40@2x.png"
  14. sips --resampleWidth 120 "${f}/${1}" --out "${f}/app-icon-40@3x.png"
  15.  
  16. sips --resampleWidth 120 "${f}/${1}" --out "${f}/app-icon-60@2x.png"
  17. sips --resampleWidth 180 "${f}/${1}" --out "${f}/app-icon-60@3x.png"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top