Documentation ¶ Index ¶ func CreateCopy(source string, destination string, quality int) error func Init(options *compactor.Options) error func Plugin() *compactor.Plugin func Transform(options *compactor.Options, file *compactor.File) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateCopy ¶ func CreateCopy(source string, destination string, quality int) error CreateCopy make a WEBP copy of a image file from almost any format func Init ¶ added in v0.0.12 func Init(options *compactor.Options) error Init processor func Plugin ¶ added in v0.0.4 func Plugin() *compactor.Plugin Plugin return the compactor plugin instance func Transform ¶ added in v0.1.0 func Transform(options *compactor.Options, file *compactor.File) error Transform processor Types ¶ This section is empty. Source Files ¶ View all Source files processor.go Click to show internal directories. Click to hide internal directories.