Commit graph

34 commits

Author SHA1 Message Date
Rohan Singh
fb5d8a6b3d Add documentation and tests for animation 2020-09-18 10:01:55 -04:00
Rohan Singh
7430f2cbfa Fix animation timing
The timing of the final animation frame wasn't being recorded correctly.
2020-02-24 15:50:34 -05:00
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.
2020-01-13 14:27:58 -05:00
Michii Shunsuke
68562c9c99
Merge pull request #22 from e-conomic/master
Fix typo in Config.SetLossless()
2019-07-03 15:09:27 +09:00
NAKAMURA Usaku
e639517b57 Need to initialize not only lossless preset but also normal preset 2019-07-02 12:27:55 +09:00
Hans Viken Duedal
d2032b00c9 Fix typo in Config.SetLossless() 2019-04-04 10:39:37 +02:00
Yoshihiro Yamazaki
4dbcceca01 fix condition (picture->colorspace == WEBP_YUV420A) 2017-04-21 17:51:25 +09:00
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
2017-03-29 18:01:06 +09:00
Isamu Mogi
f5dd7f7ed3 Avoid false pointer deallocation in Go 1.8
See https://github.com/golang/go/issues/19135#issuecomment-280560041
2017-03-15 16:47:23 +09:00
Shunsuke Michii
6df432145c Fix method parameter type. 2016-10-14 20:36:12 +09:00
Shunsuke Michii
249daa0280 Add AlphaQuality parameter to Config. 2016-09-02 12:54:53 +09:00
Shunsuke Michii
0e5bb2d99a Add const keyword to arguments. 2016-06-29 21:24:39 +09:00
Shunsuke Michii
3a78b3d0d3 Impl EncodeGray. 2016-06-29 18:12:39 +09:00
Shunsuke Michii
bbce08acb6 Add support for libwebp version 4. 2016-06-29 09:43:37 +09:00
Shunsuke Michii
fff8a5bbce Support all encoding options. 2016-06-28 16:49:21 +09:00
Shunsuke Michii
b54cbd7f6d Remove cover.out. 2016-06-28 16:37:37 +09:00
Shunsuke Michii
5255b5389f Remove unused pointer. 2016-06-28 16:27:43 +09:00
Shunsuke Michii
efeb6327b3 Move rgb image tests into webp package. 2016-06-21 17:03:58 +09:00
Shunsuke Michii
b8bf24acf4 Merge pull request #8 from saturday06/feature/rgb_encode
Enable encode RGB image
2016-06-21 16:51:29 +09:00
Isamu Mogi
5feb01ea46 Remove inappropriate comment 2016-06-21 13:22:09 +09:00
Isamu Mogi
7c460481c0 Fix comments 2016-06-17 02:29:22 +09:00
Isamu Mogi
462078c647 Rename ambiguous ColorModel to RGBModel 2016-06-16 16:13:50 +09:00
Shunsuke Michii
79325fa77d Merge pull request #6 from saturday06/feature/static_link
Supports static link.
2016-06-10 15:25:36 +09:00
Isamu Mogi
4ba34829e7 Add RGB encoder 2016-06-10 15:08:59 +09:00
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.
2016-06-10 11:05:14 +09:00
Isamu Mogi
e4e99eb5da Static linking support
Static linker requires additional -lm
2016-06-09 02:14:44 +09:00
Shunsuke Michii
64bb969fac Merge pull request #4 from saturday06/fix/remove_unused_from_bitstream_features
Remove undefined (unused) Bitstream feature. It breaks compilation.
2016-06-03 15:51:51 +09:00
Isamu Mogi
9b5030f910 Support lossless encoder 2016-05-11 17:41:42 +09:00
Isamu Mogi
375e7babdc Apply 'go fmt' 2016-05-06 15:24:10 +09:00
Isamu Mogi
5356cfff07 Remove undefined (unused) Bitstream feature. It breaks compilation.
See:
  https://chromium.googlesource.com/webm/libwebp/+/775d3a373c38230d6aa9ea11fb95b8024d94cd49^!/#F0
2016-05-06 15:24:03 +09:00
Isamu Mogi
70c6f8198b Support rules for passing pointers between Go with C for Go 1.6 2016-01-27 16:07:31 +09:00
harukasan
fab8f03740 Update comments 2015-01-09 18:02:14 +09:00
harukasan
2608f2a429 Use test/util in webp_test 2015-01-09 14:32:22 +09:00
harukasan
5af6d93b3b initial commit 2015-01-09 12:52:13 +09:00