-
-
Notifications
You must be signed in to change notification settings - Fork 850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImageFormatException: DHT has wrong length: 0 in PdfJsJpegDecoderCore #624
Labels
Comments
Is there any fast workaround for this? |
Turns out we were throwing when we didn't need to. Those progressive images have DHT markers with no following data, but the code could already handle that. I'll merge the PR as soon as it builds. |
JimBobSquarePants
added a commit
that referenced
this issue
Jun 22, 2018
antonfirsov
added a commit
to SixLabors/Imagesharp.Tests.Images
that referenced
this issue
Jul 2, 2018
antonfirsov
added a commit
that referenced
this issue
Jul 2, 2018
antonfirsov
added a commit
to antonfirsov/ImageSharp
that referenced
this issue
Nov 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
DEBUG
andRELEASE
modeDescription
PdfJsJpegDecoderCore
throwsImageFormatException
with messageDHT has wrong length: 0
for a correct jpeg image. Here is description of the one of those images:Steps to Reproduce
Call
Image.Load
for the one of attached imagesimages.zip
System Configuration
1.0.0-beta0004
SixLabors.ImageSharp.Drawing 1.0.0-beta0004
The text was updated successfully, but these errors were encountered: