treeform / pixie

Full-featured 2d graphics library for Nim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some jpegs that fail to load with "Invalid JPEG, did not get expected restart marker" (pixie 5.0.1)

sgmihai opened this issue · comments

Thanks for reporting the issue. I'm going to merge this in to one issue instead of three separate ones as it is all related to JPEG progressive & restart markers.

Oh, I see there's already an issue. I added one to a local failing test if you want it: master...iffy:pixie:bad-jpeg

I took a first look at fixing this, but I quickly realized I'll need a lot more jpeg knowledge before I can fix it :)

Not all the images posted in this thread fail for the same "did not get expected restart marker" reason.

Failure Image
Invalid JPEG, did not get expected restart marker Image 1 - catherine
Invalid JPEG, did not get expected restart marker Image 2 - world
Invalid JPEG, did not get expected restart marker Image 3 - timelives
Invalid JPEG, invalid chunk marker Image 4 - ghosts
Invalid JPEG, unable to load Image 5 - queens
Invalid JPEG, unable to load Image 6 - breaking