mirror of
				https://github.com/mickael-kerjean/filestash.git
				synced 2025-10-31 10:07:15 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			220 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			220 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package plg_image_c
 | |
| 
 | |
| // #include "image_gif.h"
 | |
| // #cgo LDFLAGS: -l:libgif.a -l:libwebp.a
 | |
| import "C"
 | |
| 
 | |
| func gif(input uintptr, output uintptr, size int) {
 | |
| 	C.gif_to_webp(C.int(input), C.int(output), C.int(size))
 | |
| 	return
 | |
| }
 | 
