diff --git a/README.md b/README.md index 48fabb5..1815c0b 100644 --- a/README.md +++ b/README.md @@ -9,21 +9,21 @@ Package pbm implements a Portable Bit Map (PBM) image decoder and encoder. The s The PBM specification is at http://netpbm.sourceforge.net/doc/pbm.html. -## func [Decode](reader.go#L28) +## func Decode
func Decode(r io.Reader) (image.Image, error)Decode reads a PBM image from Reader r and returns it as an image.Image. -## func [DecodeConfig](reader.go#L39) +## func DecodeConfig
func DecodeConfig(r io.Reader) (image.Config, error)DecodeConfig returns the color model and dimensions of a PBM image without decoding the entire image. -## func [Encode](writer.go#L15) +## func Encode
func Encode(w io.Writer, img image.Image) error