Documentation ¶
Overview ¶
Package tj3 provides a simple JPEG decoder and encoder wrapper for the TurboJPEG v3 API and library.
Index ¶
Constants ¶
View Source
const DefaultQuality = 75
DefaultQuality is the default quality encoding parameter.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode reads a JPEG image from r and returns it as an image.Image.
func DecodeConfig ¶
DecodeConfig returns the color model and dimensions of a JPEG image without decoding the entire image.
Types ¶
Click to show internal directories.
Click to hide internal directories.