mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-29 17:18:43 +08:00
11 lines
205 B
Go
11 lines
205 B
Go
package plg_image_c
|
|
|
|
// #include "image_heif.h"
|
|
// #cgo LDFLAGS: -lheif
|
|
import "C"
|
|
|
|
func heif(input uintptr, output uintptr, size int) {
|
|
C.heif_to_jpeg(C.int(input), C.int(output), C.int(size))
|
|
return
|
|
}
|