Bash script for resizing a full-sized (1024x1024) square icon to all required sizes