# WebP2 encoder The source for the library is not open-source _yet_. The second it is we will publicize the build steps. ## Dependencies N/A ## Example N/A ## API ### `UInt8Array encode(uint8_t* image_buffer, int image_width, int image_height)` Encodes the given image with given dimension to WP2.