You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to open a PDF document containing a corrupt page with a height of 0. The image renderer throws an exception caused by the invalid value of height.
My solution is to set a minimum value to both parameters width and height using Math.Max().
I've tried to open a PDF document containing a corrupt page with a height of 0. The image renderer throws an exception caused by the invalid value of height.
My solution is to set a minimum value to both parameters width and height using Math.Max().
File: PdfDocument.cs
Line: 334
The text was updated successfully, but these errors were encountered: