Skip to content

Instantly share code, notes, and snippets.

@EmmanuelKasper
Last active January 13, 2019 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmmanuelKasper/4b51e344ab1dc800a957 to your computer and use it in GitHub Desktop.
Save EmmanuelKasper/4b51e344ab1dc800a957 to your computer and use it in GitHub Desktop.
Convert images for Atari ST resolution
# with dithering
convert input.jpg -resize 640x400\! -colorspace gray -colors 2 -normalize output.gif
# without dithering, strong separation
convert input.jpg -resize 640x400\! -colorspace gray +dither -colors 2 -normalize output.gif
# see http://www.multipole.org/discourse-server/viewtopic.php?t=34042 for background
# convert to low resultion for atari ST 16 colors / 4096 palette
convert rio_hill.jpg -colors 16 -depth 4 -resize 320x200\! rio.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment