I don't recommend pishink.sh ... I tried it 4 times, which is very time consuming and it made the image to small and corrupted the image.
I recommend using this tutorial and this guy is a genius and easy to follow:
NovaSpirt tech: • Backup and Shrink your Raspberry Pi Image