webp

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(w io.Writer, m image.Image, quality uint) error

func PrepareEncoder

func PrepareEncoder() error

Types

type Converter

type Converter struct {
	// contains filtered or unexported fields
}

func New

func New() *Converter

func (*Converter) ConvertChapter

func (converter *Converter) ConvertChapter(chapter *manga.Chapter, quality uint8, split bool, progress func(message string, current uint32, total uint32)) (*manga.Chapter, error)

func (*Converter) Format

func (converter *Converter) Format() (format constant.ConversionFormat)

func (*Converter) PrepareConverter

func (converter *Converter) PrepareConverter() error

Jump to

Keyboard shortcuts

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