package webpoptions
import "github.com/bep/gowebp/libwebp/webpoptions"
Index ¶
Types ¶
type EncodingOptions ¶
type EncodingOptions struct {
// Quality is a number between 0 and 100. Set to 0 for lossless.
Quality int
// The encoding preset to use.
EncodingPreset
// Use sharp (and slow) RGB->YUV conversion.
UseSharpYuv bool
}
type EncodingPreset ¶
type EncodingPreset int
const ( EncodingPresetDefault EncodingPreset = iota EncodingPresetPicture EncodingPresetPhoto EncodingPresetDrawing EncodingPresetIcon EncodingPresetText )
Source Files ¶
- Version
- v0.3.0
- Published
- Nov 27, 2023
- Platform
- linux/amd64
- Last checked
- 4 months ago –
Tools for package owners.