Created
January 3, 2020 01:01
-
-
Save tyrells/9c960b0343853fc813b694d579b0d4f0 to your computer and use it in GitHub Desktop.
MS-DOS Aspect ratio correction and image resize using imagemagick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To convert 320x200 screenshots from DOS games into 640x480 images using a single imagemagick command | |
# Based on the technique in https://www.gamasutra.com/blogs/FelipePepe/20150423/241730/No_MSDOS_games_werent_widescreen_Tips_on_correcting_aspect_ratio.php | |
magick convert original.png -interpolate Nearest -filter Point -resize 640x1200! +filter -interpolate Bilinear -resize 640x480! -verbose output.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment