Use exiffix rather than imaging to handle EXIF rotation

exiffix works for more formats than just JPEG
This commit is contained in:
Kovid Goyal
2024-03-22 09:35:39 +05:30
parent 0eae7ba21d
commit e11081ac09
4 changed files with 10 additions and 2 deletions

2
go.mod
View File

@@ -8,6 +8,7 @@ require (
github.com/bmatcuk/doublestar/v4 v4.6.1
github.com/disintegration/imaging v1.6.2
github.com/dlclark/regexp2 v1.11.0
github.com/edwvee/exiffix v0.0.0-20240229113213-0dbb146775be
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/seancfoley/ipaddress-go v1.5.5
@@ -24,6 +25,7 @@ require (
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/lufia/plan9stats v0.0.0-20230326075908-cb1d2100619a // indirect
github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd // indirect
github.com/seancfoley/bintree v1.2.3 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect