mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-29 00:55:51 +08:00
11 lines
222 B
Go
11 lines
222 B
Go
package plg_image_c
|
|
|
|
// #include "image_webp.h"
|
|
// #cgo LDFLAGS: -l:libwebp.a -lsharpyuv
|
|
import "C"
|
|
|
|
func webp(input uintptr, output uintptr, size int) {
|
|
C.webp_to_webp(C.int(input), C.int(output), C.int(size))
|
|
return
|
|
}
|