This commit fixes a regression introduced in #178 that incorrectly used frame-level details for canvas size and alpha channels. The fix ensures that we use information from the WebP container instead.
Adds a test-case for generation of a single-frame output from an animated WebP input. Prior to this fix, this test case would output a single frame consisting of only the background color since the presence of an alpha channel was inferred from the first frame rather than the container flag.
This commit fixes a regression introduced in #178 that incorrectly used frame-level details for canvas size and alpha channels. The fix ensures that we use information from the WebP container instead.
Adds a test-case for generation of a single-frame output from an animated WebP input. Prior to this fix, this test case would output a single frame consisting of only the background color since the presence of an alpha channel was inferred from the first frame rather than the container flag.