package jpeg

Import Path
	image/jpeg (on golang.org and go.dev)

Dependency Relation
	imports 6 packages, and imported by one package

Involved Source Files fdct.go huffman.go idct.go Package jpeg implements a JPEG image decoder and encoder. JPEG is defined in ITU-T T.81: https://www.w3.org/Graphics/JPEG/itu-t81.pdf. scan.go writer.go
Package-Level Type Names (total 15, in which 4 are exported)
/* sort exporteds by: | */
A FormatError reports that the input is not a valid JPEG. ( T) Error() string T : error
Options are the encoding parameters. Quality ranges from 1 to 100 inclusive, higher is better. Quality int func Encode(w io.Writer, m image.Image, o *Options) error
Deprecated: Reader is not used by the image/jpeg package and should not be used by others. It is kept for compatibility. ( T) Read(p []byte) (n int, err error) ( T) ReadByte() (byte, error) *bufio.Reader bufio.ReadWriter *bytes.Buffer *bytes.Reader compress/flate.Reader (interface) github.com/go-git/go-git/v5/plumbing/format/idxfile.Decoder *strings.Reader T : compress/flate.Reader T : github.com/jbenet/go-context/io.Reader T : io.ByteReader T : io.Reader
An UnsupportedError reports that the input uses a valid but unimplemented JPEG feature. ( T) Error() string T : error
Package-Level Functions (total 14, in which 3 are exported)
Decode reads a JPEG image from r and returns it as an image.Image.
DecodeConfig returns the color model and dimensions of a JPEG image without decoding the entire image.
Encode writes the Image m to w in JPEG 4:2:0 baseline format with the given options. Default parameters are used if a nil *Options is passed.
Package-Level Variables (total 10, none are exported)
Package-Level Constants (total 65, in which 1 are exported)
DefaultQuality is the default quality encoding parameter.