Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWebPDir = filepath.Join(map[string]string{ "windows": filepath.Join(os.Getenv("APPDATA")), "darwin": filepath.Join(os.Getenv("HOME"), ".cache"), "linux": filepath.Join(os.Getenv("HOME"), ".cache"), }[runtime.GOOS], "webp", libwebpVersion, "bin")
DefaultWebPDir for downloaded browser. For unix is "$HOME/.cache/webp/bin", for Windows it's "%APPDATA%\webp\bin"
Functions ¶
func PrepareEncoder ¶
func PrepareEncoder() error
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
func (*Converter) ConvertChapter ¶
func (*Converter) Format ¶
func (converter *Converter) Format() (format constant.ConversionFormat)
Click to show internal directories.
Click to hide internal directories.