Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 517 by marti...@
gmail.com: Exporting to animated WebP doesn't preserve the channels
https://bugs.chromium.org/p/webp/issues/detail?id=517What steps will reproduce the problem?
I'm doing third party API ingegration. Running the example from the documentation page.
```
WebPAnimEncoder* enc = WebPAnimEncoderNew(width, height, &enc_options);
while(<there are more frames>) {
WebPConfig config;
WebPConfigInit(&config);
WebPAnimEncoderAdd(enc, frame, timestamp_ms, &config);
}
WebPAnimEncoderAdd(enc, NULL, timestamp_ms, NULL);
WebPAnimEncoderAssemble(enc, webp_data);
WebPAnimEncoderDelete(enc);
```
What is the expected output? What do you see instead?
Issue is related to exporting animated image with a wrong number of channels.
When I export animated webp image from 5 images, whose numbers of channels are equal to 3, animated webp image contains 5 images with channels {3, 4,4,4,4}(Means it preserves right number of channels only for the first frame)
What version of the product are you using? On what operating system?
I'm on Linux Ubuntu 20.04
I'm using the current webp master.
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings