Yoshihiro Yamazaki
4dbcceca01
fix condition (picture->colorspace == WEBP_YUV420A)
9 years ago
Shunsuke Michii
8a2921d35f
Fix to adopt cgo pointer rules in EncodeYUVA and EncodeGray.
...
This changes will fix these errors:
- "cgo argument has Go pointer to Go pointer" in EncodeYUVA
- "Go pointer stored into non-Go memory" in EncodeYUVA and EncodeGray
9 years ago
Isamu Mogi
f5dd7f7ed3
Avoid false pointer deallocation in Go 1.8
...
See https://github.com/golang/go/issues/19135#issuecomment-280560041
9 years ago
Shunsuke Michii
6df432145c
Fix method parameter type.
9 years ago
Shunsuke Michii
249daa0280
Add AlphaQuality parameter to Config.
9 years ago
Shunsuke Michii
0e5bb2d99a
Add const keyword to arguments.
10 years ago
Shunsuke Michii
3a78b3d0d3
Impl EncodeGray.
10 years ago
Shunsuke Michii
bbce08acb6
Add support for libwebp version 4.
10 years ago
Shunsuke Michii
fff8a5bbce
Support all encoding options.
10 years ago
Shunsuke Michii
5255b5389f
Remove unused pointer.
10 years ago
Shunsuke Michii
b8bf24acf4
Merge pull request #8 from saturday06/feature/rgb_encode
...
Enable encode RGB image
10 years ago
Shunsuke Michii
79325fa77d
Merge pull request #6 from saturday06/feature/static_link
...
Supports static link.
10 years ago
Isamu Mogi
4ba34829e7
Add RGB encoder
10 years ago
Shunsuke Michii
10d006dab5
Merge pull request #3 from saturday06/fix/go1.6
...
Support rules for passing pointers between Go with C for Go 1.6.
10 years ago
Isamu Mogi
e4e99eb5da
Static linking support
...
Static linker requires additional -lm
10 years ago
Isamu Mogi
9b5030f910
Support lossless encoder
10 years ago
Isamu Mogi
70c6f8198b
Support rules for passing pointers between Go with C for Go 1.6
10 years ago
harukasan
5af6d93b3b
initial commit
11 years ago