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: Use libwebp #636

Merged
merged 2 commits into from
Jul 17, 2024
Merged

LibGfx: Use libwebp #636

merged 2 commits into from
Jul 17, 2024

Commits on Jul 16, 2024

  1. LibGfx/WebPLoader: Use transparent black as animation background color

    This matches libwebp (see ZeroFillCanvas() call in
    libwebp/src/demux/anim_decode.c:355 and ZeroFillFrameRect() call
    in line 435, but in WebPAnimDecoderGetNext()) and makes files
    written e.g. by asesprite look correct -- even though the old
    behavior is also spec-compliant and arguably makes more sense.
    Now nothing looks at the background color stored in the file.
    
    See PR for an example image where it makes a visible difference.
    
    Cherry-picked from serenityos master
    276a904d20ffe260b5544a9ace9841d083e0243
    nico authored and doctortheemh committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    06d9d69 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ff19e2 View commit details
    Browse the repository at this point in the history