Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- f=$(pwd)
- sips --resampleWidth 29 "${f}/${1}" --out "${f}/iPhoneSpotlight-iPhoneSettings-29.png"
- sips --resampleWidth 58 "${f}/${1}" --out "${f}/iPhoneSpotlight-iPhoneSettings-29@2x.png"
- sips --resampleWidth 87 "${f}/${1}" --out "${f}/iPhoneSpotlight-iPhoneSettings-29@3x.png"
- sips --resampleWidth 80 "${f}/${1}" --out "${f}/iPhoneSpotlight-40@2x.png"
- sips --resampleWidth 120 "${f}/${1}" --out "${f}/iPhoneSpotlight-40@3x.png"
- sips --resampleWidth 57 "${f}/${1}" --out "${f}/iPhoneApp-57.png"
- sips --resampleWidth 114 "${f}/${1}" --out "${f}/iPhoneApp-57@2x.png"
- sips --resampleWidth 120 "${f}/${1}" --out "${f}/iPhoneApp-60@2x.png"
- sips --resampleWidth 180 "${f}/${1}" --out "${f}/iPhoneApp-60@3x.png"
- sips --resampleWidth 29 "${f}/${1}" --out "${f}/iPadSettings-29.png"
- sips --resampleWidth 58 "${f}/${1}" --out "${f}/iPadSettings-29@2x.png"
- sips --resampleWidth 40 "${f}/${1}" --out "${f}/iPadSpotlight-40.png"
- sips --resampleWidth 80 "${f}/${1}" --out "${f}/iPadSpotlight-40@2x.png"
- sips --resampleWidth 50 "${f}/${1}" --out "${f}/iPadSpotlight-50.png"
- sips --resampleWidth 100 "${f}/${1}" --out "${f}/iPadSpotlight-50@2x.png"
- sips --resampleWidth 72 "${f}/${1}" --out "${f}/iPadApp-72.png"
- sips --resampleWidth 144 "${f}/${1}" --out "${f}/iPadApp-72@2x.png"
- sips --resampleWidth 76 "${f}/${1}" --out "${f}/iPadApp-76.png"
- sips --resampleWidth 152 "${f}/${1}" --out "${f}/iPadApp-76@2x.png"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement