I was looking for a way to apply aspect ratio correction to screenshots from MS-DOS windows taken by 86Box.
The screenshorts are saved "raw", so they don't include aspect ratio correction.
ImageMagick handles this very well:
convert original-file.png -resize 720x540\! scaled.png