mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-04-23 11:11:51 -07:00
fix(vips): panic error on exif orientation
This commit is contained in:
parent
4bf5d7391e
commit
6142436743
3 changed files with 13 additions and 6 deletions
|
|
@ -47,7 +47,7 @@ func TestMetadata(t *testing.T) {
|
|||
for _, file := range files {
|
||||
metadata, err := Metadata(readFile(file.name))
|
||||
if err != nil {
|
||||
t.Fatalf("Cannot read the image: %#v", err)
|
||||
t.Fatalf("Cannot read the image: %s -> %s", file.name, err)
|
||||
}
|
||||
|
||||
if metadata.Type != file.format {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue