File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,21 @@ Package pbm implements a Portable Bit Map (PBM) image decoder and encoder. The s
99The PBM specification is at http://netpbm.sourceforge.net/doc/pbm.html .
1010
1111
12- ## func [ Decode] ( reader.go#L28 )
12+ ## func Decode
1313<pre >
1414func Decode(r <a href =" https://pkg.go.dev/io " >io</a >.<a href =" https://pkg.go.dev/io#Reader " >Reader</a >) (<a href =" https://pkg.go.dev/image " >image</a >.<a href =" https://pkg.go.dev/image#Image " >Image</a >, <a href =" https://pkg.go.dev/builtin#error " >error</a >)
1515</pre >
1616Decode reads a PBM image from Reader r and returns it as an image.Image.
1717
1818
19- ## func [ DecodeConfig] ( reader.go#L39 )
19+ ## func DecodeConfig
2020<pre >
2121func DecodeConfig(r <a href =" https://pkg.go.dev/io " >io</a >.<a href =" https://pkg.go.dev/io#Reader " >Reader</a >) (<a href =" https://pkg.go.dev/image " >image</a >.<a href =" https://pkg.go.dev/image#Config " >Config</a >, <a href =" https://pkg.go.dev/builtin#error " >error</a >)
2222</pre >
2323DecodeConfig returns the color model and dimensions of a PBM image without decoding the entire image.
2424
2525
26- ## func [ Encode] ( writer.go#L15 )
26+ ## func Encode
2727<pre >
2828func Encode(w <a href =" https://pkg.go.dev/io " >io</a >.<a href =" https://pkg.go.dev/io#Writer " >Writer</a >, img <a href =" https://pkg.go.dev/image " >image</a >.<a href =" https://pkg.go.dev/image#Image " >Image</a >) <a href =" https://pkg.go.dev/builtin#error " >error</a >
2929</pre >
You can’t perform that action at this time.
0 commit comments