Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
Encode writes the provided image.Image to the specified io.Writer in WebP VP8L format.
This function supports VP8L (lossless WebP) encoding and can handle color-indexed images when img is provided as image.Paletted.
Parameters:
w - The destination writer where the encoded WebP image will be written.
img - The input image to be encoded.
o - Pointer to Options containing encoding settings; currently unused but reserved
for future enhancements such as adjusting compression levels.
Returns:
An error if encoding fails or writing to the io.Writer encounters an issue.
Types ¶
Click to show internal directories.
Click to hide internal directories.




