Add ability to preserve the aspect ratio.

This is to support icons which want to set their own aspect ratio.
Update copyright.
Support non-square icons.