remove fixJpgOrientation

This commit is contained in:
Chris Lu
2020-06-20 12:50:40 -07:00
parent 3080c197e3
commit de5ca9b258
12 changed files with 13 additions and 264 deletions

View File

@@ -1,20 +0,0 @@
package images
import (
"io/ioutil"
"os"
"testing"
)
func TestXYZ(t *testing.T) {
fname := "sample1.jpg"
dat, _ := ioutil.ReadFile(fname)
fixed_data := FixJpgOrientation(dat)
ioutil.WriteFile("fixed1.jpg", fixed_data, 0644)
os.Remove("fixed1.jpg")
}