Simple script to resize images proportionally.