Browse Source

Update exception message

Co-authored-by: Brian Popow <38701097+brianpopow@users.noreply.github.com>
pull/1570/head
Ildar Khayrutdinov 6 years ago
committed by GitHub
parent
commit
f11bb87713
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/ImageSharp/Formats/Tiff/Compression/TiffBaseCompression.cs

2
src/ImageSharp/Formats/Tiff/Compression/TiffBaseCompression.cs

@ -64,7 +64,7 @@ namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{ {
if (stripByteCount > int.MaxValue) if (stripByteCount > int.MaxValue)
{ {
TiffThrowHelper.ThrowImageFormatException("Too big value of StripByteCount."); TiffThrowHelper.ThrowImageFormatException("The StripByteCount value is too big.");
} }
stream.Seek(stripOffset, SeekOrigin.Begin); stream.Seek(stripOffset, SeekOrigin.Begin);

Loading…
Cancel
Save