Lines Matching refs:jpeg
5 // Package jpeg implements a JPEG image decoder and encoder.
7 // JPEG is defined in ITU-T T.81: http://www.w3.org/Graphics/JPEG/itu-t81.pdf.
8 package jpeg
20 // A FormatError reports that the input is not a valid JPEG.
23 func (e FormatError) Error() string { return "invalid JPEG format: " + string(e) }
25 // An UnsupportedError reports that the input uses a valid but unimplemented JPEG feature.
28 func (e UnsupportedError) Error() string { return "unsupported JPEG feature: " + string(e) }
63 // "APPlication specific" markers aren't part of the JPEG spec per se,
65 // http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/JPEG.html
71 // See http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/JPEG.html#Adobe
148 panic("jpeg: fill called when unread bytes exist")
350 // If a JPEG image has only one component, section A.2 says "this data
392 // Theoretically, 4-component JPEG images could mix and match hv values
516 // decode reads a JPEG image from r and returns it as an image.Image.
659 // used depends on whether the JPEG image is stored as CMYK or YCbCrK,
662 // Adobe CMYK JPEG images are inverted, where 255 means no ink instead of full
667 return nil, UnsupportedError("unknown color model: 4-component JPEG doesn't have Adobe APP14 metadata")
670 // If the 4-component JPEG image isn't explicitly marked as "Unknown (RGB
672 // http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/JPEG.html#Adobe
735 // http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/JPEG.html#Adobe
760 // Decode reads a JPEG image from r and returns it as an image.Image.
766 // DecodeConfig returns the color model and dimensions of a JPEG image without
801 image.RegisterFormat("jpeg", "\xff\xd8", Decode, DecodeConfig)