mirror of
https://github.com/coalaura/ffwebp.git
synced 2025-09-08 22:09:55 +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) {
|
func (impl) Decode(r io.Reader) (image.Image, error) {
|
||||||
return netpbm.Decode(r, &netpbm.DecodeOptions{
|
return netpbm.Decode(r, nil)
|
||||||
Exact: true,
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (impl) Encode(w io.Writer, img image.Image, common opts.Common) error {
|
func (impl) Encode(w io.Writer, img image.Image, common opts.Common) error {
|
||||||
|
5146
test/image.pnm
Normal file
5146
test/image.pnm
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user