Enabled resizing, expanded gradient, added border support

Image size hard-coded to 50x50, pixel aspect ratio hard-coded to 7/12,
the same pixel aspect ratio as the Windows command prompt's default
settings.