mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-17 03:00:13 +00:00
Add examples and codec-specific documentation
This commit is contained in:
@@ -28,8 +28,8 @@ void encode(uint8_t* img_in, int width, int height, float quality) {
|
||||
}
|
||||
|
||||
EMSCRIPTEN_KEEPALIVE
|
||||
void free_result(uint8_t* result) {
|
||||
WebPFree(result);
|
||||
void free_result() {
|
||||
WebPFree(result[0]);
|
||||
}
|
||||
|
||||
EMSCRIPTEN_KEEPALIVE
|
||||
|
||||
Reference in New Issue
Block a user