ststeiger/PdfSharpCore

Unexpected EOF when DrawImage

noctis0430 opened this issue · 0 comments

Subject of the issue

InflaterInputStream.Read() throw Unexpected EOF exception when trying to read empty data.

Steps to reproduce

Build and run the solution to see the issue
Sample solution: sample.zip

Expected behaviour

Complete execution without error

Actual behaviour

Throw Unexpected EOF error

Your environment

  • PdfSharpCore 1.3.60
  • NET 6
  • VS Community 2022