|
|
|
@ -22,7 +22,7 @@ namespace SixLabors.ImageSharp.Formats.Png |
|
|
|
public static void ThrowNoData() => throw new InvalidImageContentException("PNG Image does not contain a data chunk"); |
|
|
|
|
|
|
|
[MethodImpl(InliningOptions.ColdPath)] |
|
|
|
public static void ThrowMissingPalette() => throw new InvalidImageContentException("PNG Image does not contain palette chunk"); |
|
|
|
public static void ThrowMissingPalette() => throw new InvalidImageContentException("PNG Image does not contain a palette chunk"); |
|
|
|
|
|
|
|
[MethodImpl(InliningOptions.ColdPath)] |
|
|
|
public static void ThrowInvalidChunkType() => throw new InvalidImageContentException("Invalid PNG data."); |
|
|
|
|