Gabe Farrell
9590520a78
Fork and change module
3 years ago
Rohan Singh
1fabc3b466
Fix memory leak in animation encoding ( #1 )
...
We were never freeing the buffer that holds the assembled WebP
animation.
Instead, copy the buffer into Go and free it right after assembly.
3 years ago
Rohan Singh
dd1cead28d
Fork and add module
...
The upstream harukasan/go-libwebp hasn't been updated in almost three
years, so we're officially forking this into tidbyt/go-libwebp and
making it a Go module.
4 years ago
Rohan Singh
7718986fb5
Add support for decoding an animated WebP
...
The initial implementation doesn't fully expose `WebPAnimDecoderOptions`.
5 years ago
Rohan Singh
fb5d8a6b3d
Add documentation and tests for animation
5 years ago
Rohan Singh
7430f2cbfa
Fix animation timing
...
The timing of the final animation frame wasn't being recorded correctly.
6 years ago
Rohan Singh
1c4bc9fe39
Add support for creating an animated WebP
...
This initial implementation doesn't fully expose the `WebPAnimEncoderOptions`.
It also still needs some unit tests and examples.
6 years ago
Michii Shunsuke
68562c9c99
Merge pull request #22 from e-conomic/master
...
Fix typo in Config.SetLossless()
7 years ago
NAKAMURA Usaku
e639517b57
Need to initialize not only lossless preset but also normal preset
7 years ago
Hans Viken Duedal
d2032b00c9
Fix typo in Config.SetLossless()
7 years ago
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
b54cbd7f6d
Remove cover.out.
10 years ago
Shunsuke Michii
5255b5389f
Remove unused pointer.
10 years ago
Shunsuke Michii
efeb6327b3
Move rgb image tests into webp package.
10 years ago
Shunsuke Michii
b8bf24acf4
Merge pull request #8 from saturday06/feature/rgb_encode
...
Enable encode RGB image
10 years ago
Isamu Mogi
5feb01ea46
Remove inappropriate comment
10 years ago
Isamu Mogi
7c460481c0
Fix comments
10 years ago
Isamu Mogi
462078c647
Rename ambiguous ColorModel to RGBModel
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
Shunsuke Michii
64bb969fac
Merge pull request #4 from saturday06/fix/remove_unused_from_bitstream_features
...
Remove undefined (unused) Bitstream feature. It breaks compilation.
10 years ago
Isamu Mogi
9b5030f910
Support lossless encoder
10 years ago
Isamu Mogi
375e7babdc
Apply 'go fmt'
10 years ago
Isamu Mogi
5356cfff07
Remove undefined (unused) Bitstream feature. It breaks compilation.
...
See:
775d3a373c ^!/#F0
10 years ago
Isamu Mogi
70c6f8198b
Support rules for passing pointers between Go with C for Go 1.6
10 years ago
harukasan
fab8f03740
Update comments
11 years ago
harukasan
2608f2a429
Use test/util in webp_test
11 years ago
harukasan
5af6d93b3b
initial commit
11 years ago