ImageSharp icon indicating copy to clipboard operation
ImageSharp copied to clipboard

WEBP : Use Correct Width With AlphaDecoder

Open JimBobSquarePants opened this issue 1 year ago • 0 comments

Prerequisites

  • [x] I have written a descriptive pull-request title
  • [x] I have verified that there are no overlapping pull-requests open
  • [x] I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules :cop:.
  • [x] I have provided test coverage for my change (where applicable)

Description

Fixes #2801

The Alpha decoder was using the incorrect width. Updated and copied the comment from the original code. I also moved an allocation to our memory allocator.

JimBobSquarePants avatar Oct 16 '24 08:10 JimBobSquarePants