Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibGfx/GIF: Support loop_count and duration #24412

Merged
merged 4 commits into from
May 22, 2024

Conversation

LucasChollet
Copy link
Member

No description provided.

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label May 22, 2024
Copy link
Contributor

@nico nico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\o/

Userland/Libraries/LibGfx/ImageFormats/GIFWriter.cpp Outdated Show resolved Hide resolved
Userland/Libraries/LibGfx/ImageFormats/GIFWriter.cpp Outdated Show resolved Hide resolved
Tests/LibGfx/TestImageWriter.cpp Outdated Show resolved Hide resolved
@nico nico added ✅ pr-community-approved PR has been approved by a community member and removed 👀 pr-needs-review PR needs review from a maintainer or community member labels May 22, 2024
This allows us to encode the required number of loops in the file.
This allows us to write the duration of each frame.
This was working with files, but with pre-allocated buffers, the end
is not the same position as last written byte.
@github-actions github-actions bot added 👀 pr-needs-review PR needs review from a maintainer or community member and removed ✅ pr-community-approved PR has been approved by a community member labels May 22, 2024
@trflynn89 trflynn89 merged commit c83fc59 into SerenityOS:master May 22, 2024
12 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants