Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyPath = errors.New("empty file path provided") ErrInvalidInput = errors.New("invalid input file") ErrInvalidOutput = errors.New("invalid output path") ErrDecoding = errors.New("failed to decode WebP") ErrEncoding = errors.New("failed to encode PNG") )
Common errors returned by the package
Functions ¶
func ConvertWebPToPNG ¶
ConvertWebPToPNG converts a WebP image file to PNG format. It takes the input WebP file path and desired output PNG file path as parameters. Returns an error if the conversion fails due to invalid paths, read/write errors, or image conversion issues.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.