webpoptions

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 0 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL