Files
seaweedFS/weed/images/orientation_test.go
promalert 9012069bd7 chore: execute goimports to format the code (#7983)
* chore: execute goimports to format the code

Signed-off-by: promalert <promalert@outlook.com>

* goimports -w .

---------

Signed-off-by: promalert <promalert@outlook.com>
Co-authored-by: Chris Lu <chris.lu@gmail.com>
2026-01-07 13:06:08 -08:00

22 lines
291 B
Go

package images
import (
"os"
"testing"
"github.com/seaweedfs/seaweedfs/weed/util"
)
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")
}