...
This commit is contained in:
parent
c1af14c22a
commit
210c417d96
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ func OpenNativeImageFromReader(f io.ReadSeeker) (ans *ImageData, err error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
f.Seek(0, io.SeekStart)
|
||||
_, _ = f.Seek(0, io.SeekStart)
|
||||
ans = &ImageData{Width: c.Width, Height: c.Height, Format_uppercase: strings.ToUpper(fmt)}
|
||||
|
||||
if ans.Format_uppercase == "GIF" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue