Skip to content

Instantly share code, notes, and snippets.

@agirorn
Last active November 8, 2017 18:45
Show Gist options
  • Save agirorn/22c98558fb9148ec2716046abff011d2 to your computer and use it in GitHub Desktop.
Save agirorn/22c98558fb9148ec2716046abff011d2 to your computer and use it in GitHub Desktop.
Use graphicsmagick to convert image to old BMP format
#!/usr/bin/env bash
convert image.png ppm:- | convert ppm:- BMP3:image.bmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment