Add exception type and update xml docs. #1179
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1179 +/- ##
=======================================
Coverage 82.47% 82.47%
=======================================
Files 688 690 +2
Lines 29891 29916 +25
Branches 3378 3379 +1
=======================================
+ Hits 24653 24674 +21
- Misses 4538 4541 +3
- Partials 700 701 +1
Continue to review full report at Codecov.
|
antonfirsov
left a comment
There was a problem hiding this comment.
Great job! Will have another one in a few days.
| /// <returns> | ||
| /// The <see cref="IImageInfo"/> or null if suitable info detector is not found. | ||
| /// </returns> | ||
| public static IImageInfo Identify(Configuration configuration, byte[] data, out IImageFormat format) |
There was a problem hiding this comment.
Can decoders throw InvalidImageContentException in Identify?
There was a problem hiding this comment.
Yeah, they can hit a bad value in the image header.
Quick as possible if you can. I'm hoping to ship in less than a week. |
|
@JimBobSquarePants there are still some places left with a For example .Was this intentional or should we change those, too? |
|
@brianpopow I missed that. Yeah we should update. |
@JimBobSquarePants ok i will do that |
Prerequisites
Description
InvalidImageContentExceptiontype.Fixes. #1110