packages feed

JuicyPixels 3.2.8.2 → 3.2.8.3

raw patch · 3 files changed

+11/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

JuicyPixels.cabal view
@@ -1,5 +1,5 @@ Name:                JuicyPixels
-Version:             3.2.8.2
+Version:             3.2.8.3
 Synopsis:            Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)
 Description:
     <<data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADABAMAAACg8nE0AAAAElBMVEUAAABJqDSTWEL/qyb///8AAABH/1GTAAAAAXRSTlMAQObYZgAAAN5JREFUeF7s1sEJgFAQxFBbsAV72v5bEVYWPwT/XDxmCsi7zvHXavYREBDI3XP2GgICqBBYuwIC+/rVayPUAyAg0HvIXBcQoDFDGnUBgWQQ2Bx3AYFaRoBpAQHWb3bt2ARgGAiCYFFuwf3X5HA/McgGJWI2FdykCv4aBYzmKwDwvl6NVmUAAK2vlwEALK7fo88GANB6HQsAAAAAAAAA7P94AQCzswEAAAAAAAAAAAAAAAAAAICzh4UAO4zWAYBfRutHA4Bn5C69JhowAMGoBaMWDG0wCkbBKBgFo2AUAACPmegUST/IJAAAAABJRU5ErkJggg==>>
@@ -16,7 +16,7 @@ Build-type:          Simple
 
 -- Constraint on the version of Cabal needed to build this package.
-Cabal-version:       >= 1.10
+Cabal-version:       >= 1.18
 
 extra-source-files: changelog, docimages/*.png, docimages/*.svg, README.md
 extra-doc-files: docimages/*.png, docimages/*.svg
@@ -28,7 +28,7 @@ Source-Repository this
     Type:      git
     Location:  git://github.com/Twinside/Juicy.Pixels.git
-    Tag:       v3.2.8.2
+    Tag:       v3.2.8.3
 
 Flag Mmap
     Description: Enable the file loading via mmap (memory map)
changelog view
@@ -1,6 +1,12 @@ Change log
 ==========
 
+v3.2.9.3 August 2017
+------------------
+
+ * Fix: Jpeg loading of extended sequential jpg, not sure of all
+		the implications, works with the sample
+
 v3.2.8.2 June 2017
 ------------------
 
src/Codec/Picture/Jpg.hs view
@@ -475,9 +475,11 @@ gatherImageKind lst = case [k | JpgScans k _ <- lst, isDctSpecifier k] of
     [JpgBaselineDCTHuffman] -> Just BaseLineDCT
     [JpgProgressiveDCTHuffman] -> Just ProgressiveDCT
+    [JpgExtendedSequentialDCTHuffman] -> Just BaseLineDCT
     _ -> Nothing
   where isDctSpecifier JpgProgressiveDCTHuffman = True
         isDctSpecifier JpgBaselineDCTHuffman = True
+        isDctSpecifier JpgExtendedSequentialDCTHuffman = True
         isDctSpecifier _ = False
 
 gatherScanInfo :: JpgImage -> (JpgFrameKind, JpgFrameHeader)