Skip to content

Fix PixelColorType.YCbCr wrongly interpreted as grayscale in PngEncoder - #3034

Merged
JimBobSquarePants merged 2 commits into
SixLabors:mainfrom
Socolin:fix-3033
Dec 16, 2025
Merged

JimBobSquarePants merged 2 commits into
SixLabors:mainfrom
Socolin:fix-3033

Conversation

@Socolin

@Socolin Socolin commented Dec 14, 2025

Copy link
Copy Markdown
Contributor

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

Fix #3033, based on #3033 (comment)

@Socolin
Socolin marked this pull request as ready for review December 14, 2025 22:46

@JimBobSquarePants JimBobSquarePants left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@JimBobSquarePants
JimBobSquarePants merged commit 3229351 into SixLabors:main Dec 16, 2025
11 checks passed
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.

Image decoded with WebpDecoder when using Yuv colortype, saved as grayscale when saved as PNG

2 participants