Skip to content

Instantly share code, notes, and snippets.

@edwin0cheng
Created March 22, 2018 01:45
Show Gist options
  • Save edwin0cheng/4f93acf21dbaa52d8a45bfa49c5cc2f3 to your computer and use it in GitHub Desktop.
Save edwin0cheng/4f93acf21dbaa52d8a45bfa49c5cc2f3 to your computer and use it in GitHub Desktop.
Convert DDS
-#!/bin/bash
-for f in *.png
-do
- convert -format dds -define dds:compression=DXT1 $f ${f%.*}.dds
-done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment