feature (thumbnail): better thumbnail plugin

This commit is contained in:
MickaelK
2023-11-10 00:51:26 +11:00
parent 513ba65d46
commit 0ac2bde335
16 changed files with 562 additions and 252 deletions

View File

@ -0,0 +1,10 @@
package plg_image_c
// #include "image_raw.h"
// #cgo LDFLAGS: -l:libjpeg.a -l:libraw.a -fopenmp -l:libstdc++.a -llcms2 -lm
import "C"
func raw(input uintptr, output uintptr, size int) {
C.raw_to_jpeg(C.int(input), C.int(output), C.int(size))
return
}