Skip to content

Commit 64fcccd

Browse files
committed
Undo predictor for cmyk images, fixes #2456
1 parent 7d0bbbd commit 64fcccd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImageSharp/Formats/Tiff/Compression/HorizontalPredictor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public static void Undo(Span<byte> pixelBytes, int width, TiffColorType colorTyp
4444
UndoRgb24Bit(pixelBytes, width);
4545
break;
4646
case TiffColorType.Rgba8888:
47+
case TiffColorType.Cmyk:
4748
UndoRgba32Bit(pixelBytes, width);
4849
break;
4950
case TiffColorType.Rgb161616:

0 commit comments

Comments
 (0)