mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-20 08:16:40 +00:00
13 lines
253 B
Go
13 lines
253 B
Go
//go:generate go run image_psd_generator.go
|
|
|
|
package plg_image_c
|
|
|
|
// #include "image_psd.h"
|
|
// #cgo LDFLAGS: -l:libwebp.a
|
|
import "C"
|
|
|
|
func psd(input uintptr, output uintptr, size int) {
|
|
C.psd_to_webp(C.int(input), C.int(output), C.int(size))
|
|
return
|
|
}
|