1234567891011121314151617181920 |
- package images
- import (
- "github.com/seaweedfs/seaweedfs/weed/util"
- "os"
- "testing"
- )
- func TestXYZ(t *testing.T) {
- fname := "sample1.jpg"
- dat, _ := os.ReadFile(fname)
- fixed_data := FixJpgOrientation(dat)
- util.WriteFile("fixed1.jpg", fixed_data, 0644)
- os.Remove("fixed1.jpg")
- }
|