1
0
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:
2025-08-11 03:58:41 +02:00
parent 278e3afeb3
commit 3114d7f8c3
2 changed files with 5147 additions and 3 deletions

View File

@@ -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 {

5146
test/image.pnm Normal file

File diff suppressed because one or more lines are too long