25 lines
524 B
Go
25 lines
524 B
Go
|
// Package image ...
|
||
|
//
|
||
|
// Description : image ...
|
||
|
//
|
||
|
// Author : go_developer@163.com<白茶清欢>
|
||
|
//
|
||
|
// Date : 2021-11-29 3:10 下午
|
||
|
package image
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
// TestGIFConvert_Generate ...
|
||
|
//
|
||
|
// Author : go_developer@163.com<白茶清欢>
|
||
|
//
|
||
|
// Date : 3:10 下午 2021/11/29
|
||
|
func TestGIFConvert_Generate(t *testing.T) {
|
||
|
sourceImgList := []string{"./test/1.jpeg", "./test/2.jpeg", "./test/3.jpeg", "./test/4.jpeg"}
|
||
|
savePath := "./test/test.gif"
|
||
|
fmt.Println(GIF.Generate(sourceImgList, savePath))
|
||
|
}
|