Skip to content

Conversation

JimBobSquarePants
Copy link
Member

Prerequisites

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

Description

Adds a new property ResizeOptions.PadColor of type Color which allows choosing a background color to pad images with.
This property color is then applied via the built in ImageFrame<TPixel>.Clear(TPixel color) which allows background color filling in non-alpha aware pixel formats like Rgb24.

@JimBobSquarePants JimBobSquarePants requested a review from a team March 3, 2022 02:52
@JimBobSquarePants JimBobSquarePants added this to the 2.*.* milestone Mar 3, 2022
@JimBobSquarePants JimBobSquarePants merged commit 14418c1 into main Mar 3, 2022
@JimBobSquarePants JimBobSquarePants deleted the js/resize-pad branch March 3, 2022 12:39
This was referenced Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants