> If a GIF image contains one frame and the loop count isn't set to 1, it is > still animated. > > The GIF decoder starts the animation thread that decodes the single frame > over and over again. The image itself looks static, but decoding consumes CPU > and memory. > > The proposed fix stops animating the image if it contains one frame only. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Alexey Ivanov has updated the pull request incrementally with one additional commit since the last revision: Update problem list entry ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33701/files - new: https://git.openjdk.org/jdk/pull/33701/files/e1d802eb..e604c8cc Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33701&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33701&range=02-03 Stats: 3 lines in 1 file changed: 1 ins; 2 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/33701.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33701/head:pull/33701 PR: https://git.openjdk.org/jdk/pull/33701
