Twinside / Juicy.Pixels

Haskell library to load & save pictures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jpeg image fails to load with readImage

ruuda opened this issue · comments

I am using readImage to load this jpeg image. This fails with the following error message:

Cannot load file
Jpeg Unknown JPG kind
PNG Invalid PNG file, signature broken
Bitmap Invalid Bitmap magic identifier
GIF Invalid Gif signature : ÿØÿà

The file opens fine in Chromium, Firefox, and Eog. file and identify output:

JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, extended sequential, precision 8, 1280x800, frames 3
JPEG 1280x800 1280x800+0+0 8-bit sRGB 191436B 0.000u 0:00.000

JuicyPixels version: 3.2.8.2.

Version 3.2.8.3 up on hackage with a fix for this ticket

Thanks for the quick fix!