nickalie / go-webpbin Goto Github PK
View Code? Open in Web Editor NEWWebP Encoder/Decoder for Golang based on official libwebp distribution
WebP Encoder/Decoder for Golang based on official libwebp distribution
go get -u
go: downloading golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8
go get: github.com/nickalie/[email protected] updating to
github.com/nickalie/[email protected]: parsing go.mod:
module declares its path as: github.com/CapsLock-Studio/go-webpbin
but was required as: github.com/nickalie/go-webpbin
Is there a reason why the module name has changed?
Thank you.
Hi there.
Thanks for the great package.
I have a question about the vendor directory. Currently when I install this package it downloads the webp binary a to /vendor but then it seems to want all of my external packages in the project to sync with the vendor folder.
Do you know how to fix this? Or would it be possible to set a folder other than vendor?
Many thanks.
C:\Users*\go\src\upload-files>go get github.com/mjarkk/go-webpbin/
package github.com/pierrec/lz4/v3: cannot find package "github.com/pierrec/lz4/v3" in any of:
C:\Go\src\github.com\pierrec\lz4\v3 (from $GOROOT)
C:\Users*\go\src\github.com\pierrec\lz4\v3 (from $GOPATH)
../vendor/github.com/nickalie/go-binwrapper/binwrapper.go:341:20: undefined: archiver.SupportedFormats ../vendor/github.com/nickalie/go-binwrapper/binwrapper.go:354:12: arc.Open undefined (type archiver.Archiver has no field or method Open)
The latest version of libwebp is 1.3.0. See:
https://github.com/webmproject/libwebp/tags
pngData, _ := base64.StdEncoding.DecodeString(img)
buf := new(bytes.Buffer)
err := cwebp.Quality(100).Input(bytes.NewReader(pngData)).Output(buf).Run()
this is error:
waitid: no child processes.
panic: runtime error: invalid memory address or nil pointer dereference
Please add license file. MIT or GNU GPLv3 or other license file.
We can't use it library in our targets, when there is no license!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.