Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package main
import "fmt"
func determineImageType(fileName string) (imageType string, err error) {
return runProgram1("identify", "-format", "%[m]", fmt.Sprintf("%v[0]", fileName))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.