Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
Quality int
}
Encoder allows the encoding of JPEG's to a http.ResponseWriter.
func NewEncoder ¶
NewEncoder creates a new Encoder based on the input request, this parses the `q` query variable to check to see if it needs to change the default quality format.
Click to show internal directories.
Click to hide internal directories.