mirror of
https://github.com/coalaura/ffwebp.git
synced 2025-09-08 05:49:54 +00:00
test file & fix
This commit is contained in:
@@ -83,9 +83,7 @@ func (impl) Sniff(reader io.ReaderAt) (int, []byte, error) {
|
||||
}
|
||||
|
||||
func (impl) Decode(r io.Reader) (image.Image, error) {
|
||||
return netpbm.Decode(r, &netpbm.DecodeOptions{
|
||||
Exact: true,
|
||||
})
|
||||
return netpbm.Decode(r, nil)
|
||||
}
|
||||
|
||||
func (impl) Encode(w io.Writer, img image.Image, common opts.Common) error {
|
||||
|
Reference in New Issue
Block a user