Skip to content

Commit 20975bc

Browse files
Update src/ImageSharp/Formats/Png/PngMetadata.cs
Co-authored-by: Copilot <[email protected]>
1 parent dd06da4 commit 20975bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Formats/Png/PngMetadata.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public void AfterImageApply<TPixel>(Image<TPixel> destination, Matrix4x4 matrix)
234234
this.ColorTable = null;
235235

236236
// If the color type is RGB and we have a transparent color, we need to switch to RGBA
237-
// so that we do not incorrectly preserve the obsolete tRNS chunk.
237+
// so that we do not incorrectly preserve the obsolete tRNS chunk.
238238
if (this.ColorType == PngColorType.Rgb && this.TransparentColor.HasValue)
239239
{
240240
this.ColorType = PngColorType.RgbWithAlpha;

0 commit comments

Comments
 (0)