mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-07 21:48:16 -08:00
Fork and change module
This commit is contained in:
parent
1fabc3b466
commit
9590520a78
9 changed files with 23 additions and 25 deletions
2
LICENSE
2
LICENSE
|
|
@ -1,4 +1,4 @@
|
||||||
Copyright (c) 2015, Shunsuke MICHII
|
Copyright (c) 2023, GosuImg
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification,
|
Redistribution and use in source and binary forms, with or without modification,
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
repo = github.com/tidbyt/go-libwebp
|
repo = github.com/gosuimg/gosu-libwebp
|
||||||
build_dir = /tmp
|
build_dir = /tmp
|
||||||
cur_dir = $(shell pwd)
|
cur_dir = $(shell pwd)
|
||||||
libwebp_so = ${LIBWEBP_PREFIX}/lib/libwebp.so
|
libwebp_so = ${LIBWEBP_PREFIX}/lib/libwebp.so
|
||||||
|
|
|
||||||
20
README.md
20
README.md
|
|
@ -1,11 +1,9 @@
|
||||||
go-libwebp
|
gosu-libwebp
|
||||||
==========
|
==========
|
||||||
|
|
||||||
[](https://godoc.org/github.com/tidbyt/go-libwebp/webp)
|
|
||||||
|
|
||||||
A implementation of Go binding for [libwebp](https://developers.google.com/speed/webp/docs/api).
|
A implementation of Go binding for [libwebp](https://developers.google.com/speed/webp/docs/api).
|
||||||
|
|
||||||
Originally forked from [harukasan/go-libwebp](https://github.com/harukasan/go-libwebp).
|
Forked from [tidbyt/go-libwebp](https://github.com/harukasan/go-libwebp).
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
|
|
@ -21,8 +19,8 @@ The [examples](./examples) directory contains example codes and images.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/tidbyt/go-libwebp/test/util"
|
"github.com/gosuimg/gosu-libwebp/test/util"
|
||||||
"github.com/tidbyt/go-libwebp/webp"
|
"github.com/gosuimg/gosu-libwebp/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
@ -53,8 +51,8 @@ import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"image"
|
"image"
|
||||||
|
|
||||||
"github.com/tidbyt/go-libwebp/test/util"
|
"github.com/gosuimg/gosu-libwebp/test/util"
|
||||||
"github.com/tidbyt/go-libwebp/webp"
|
"github.com/gosuimg/gosu-libwebp/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
@ -87,8 +85,8 @@ import (
|
||||||
"image"
|
"image"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/tidbyt/go-libwebp/test/util"
|
"github.com/gosuimg/gosu-libwebp/test/util"
|
||||||
"github.com/tidbyt/go-libwebp/webp"
|
"github.com/gosuimg/gosu-libwebp/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
@ -139,7 +137,7 @@ func main() {
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Copyright (c) 2016 MICHII Shunsuke. All rights reserved.
|
Copyright (c) 2023 GosuImg. All rights reserved.
|
||||||
|
|
||||||
This library is released under The BSD 2-Clause License.
|
This library is released under The BSD 2-Clause License.
|
||||||
See [LICENSE](./LICENSE).
|
See [LICENSE](./LICENSE).
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/tidbyt/go-libwebp/test/util"
|
"github.com/gosuimg/gosu-libwebp/test/util"
|
||||||
"github.com/tidbyt/go-libwebp/webp"
|
"github.com/gosuimg/gosu-libwebp/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"image"
|
"image"
|
||||||
|
|
||||||
"github.com/tidbyt/go-libwebp/test/util"
|
"github.com/gosuimg/gosu-libwebp/test/util"
|
||||||
"github.com/tidbyt/go-libwebp/webp"
|
"github.com/gosuimg/gosu-libwebp/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
4
go.mod
4
go.mod
|
|
@ -1,3 +1,3 @@
|
||||||
module github.com/tidbyt/go-libwebp
|
module github.com/gosuimg/gosu-libwebp
|
||||||
|
|
||||||
go 1.16
|
go 1.20
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/tidbyt/go-libwebp/test/util"
|
"github.com/gosuimg/gosu-libwebp/test/util"
|
||||||
"github.com/tidbyt/go-libwebp/webp"
|
"github.com/gosuimg/gosu-libwebp/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDecodeAnimationInfo(t *testing.T) {
|
func TestDecodeAnimationInfo(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/tidbyt/go-libwebp/test/util"
|
"github.com/gosuimg/gosu-libwebp/test/util"
|
||||||
"github.com/tidbyt/go-libwebp/webp"
|
"github.com/gosuimg/gosu-libwebp/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestEncodeAnimation(t *testing.T) {
|
func TestEncodeAnimation(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/tidbyt/go-libwebp/test/util"
|
"github.com/gosuimg/gosu-libwebp/test/util"
|
||||||
"github.com/tidbyt/go-libwebp/webp"
|
"github.com/gosuimg/gosu-libwebp/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
func TestMain(m *testing.M) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue