packages feed

JuicyPixels 3.2.3.1 → 3.2.3.2

raw patch · 2 files changed

+264/−261 lines, 2 filesdep ~zlibPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: zlib

API changes (from Hackage documentation)

Files

JuicyPixels.cabal view
@@ -1,86 +1,86 @@-Name:                JuicyPixels
-Version:             3.2.3.1
-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==>>
-    .
-    This library can load and store images in PNG,Bitmap, Jpeg, Radiance, Tiff and Gif images.
-
-homepage:            https://github.com/Twinside/Juicy.Pixels
-License:             BSD3
-License-file:        LICENSE
-Author:              Vincent Berthoux
-Maintainer:          vincent.berthoux@gmail.com
-Category:            Codec, Graphics, Image
-Stability:           Stable
-Build-type:          Simple
-
--- Constraint on the version of Cabal needed to build this package.
-Cabal-version:       >= 1.10
-
-extra-source-files: changelog, docimages/*.png
-extra-doc-files: docimages/*.png
-
-Source-Repository head
-    Type:      git
-    Location:  git://github.com/Twinside/Juicy.Pixels.git
-
-Source-Repository this
-    Type:      git
-    Location:  git://github.com/Twinside/Juicy.Pixels.git
-    Tag:       v3.2.3.1
-
-Flag Mmap
-    Description: Enable the file loading via mmap (memory map)
-    Default: False
-
-Library
-  hs-source-dirs: src
-  Default-Language: Haskell2010
-  Exposed-modules:  Codec.Picture,
-                    Codec.Picture.Bitmap,
-                    Codec.Picture.Gif,
-                    Codec.Picture.Png,
-                    Codec.Picture.Jpg,
-                    Codec.Picture.HDR,
-                    Codec.Picture.Tga,
-                    Codec.Picture.Tiff,
-                    Codec.Picture.Saving,
-                    Codec.Picture.Types,
-                    Codec.Picture.ColorQuant
-
-  Ghc-options: -O3 -Wall
-  Ghc-prof-options: -rtsopts -Wall -prof -auto-all
-  Build-depends: base                >= 4       && < 5,
-                 bytestring          >= 0.9     && < 0.11,
-                 mtl                 >= 1.1     && < 2.3,
-                 binary              >= 0.5     && < 0.8,
-                 zlib                >= 0.5.3.1 && < 0.6,
-                 transformers        >= 0.2,
-                 vector              >= 0.9     && < 0.11,
-                 primitive           >= 0.4     && < 0.7,
-                 deepseq             >= 1.1     && < 1.5,
-                 containers          >= 0.4.2   && < 0.6
-
-  if flag(Mmap)
-    Build-depends: mmap
-    CC-Options: "-DWITH_MMAP_BYTESTRING"
-
-  -- Modules not exported by this package.
-  Other-modules: Codec.Picture.Jpg.DefaultTable,
-                 Codec.Picture.Jpg.FastIdct,
-                 Codec.Picture.Jpg.FastDct,
-                 Codec.Picture.Jpg.Types,
-                 Codec.Picture.Jpg.Common,
-                 Codec.Picture.Jpg.Progressive,
-                 Codec.Picture.Gif.LZW,
-                 Codec.Picture.Gif.LZWEncoding,
-                 Codec.Picture.Png.Export,
-                 Codec.Picture.Png.Type,
-                 Codec.Picture.BitWriter,
-                 Codec.Picture.InternalHelper,
-                 Codec.Picture.VectorByteConversion
-
-  Install-Includes: src/Codec/Picture/ConvGraph.hs
-  Include-Dirs: src/Codec/Picture
-
+Name:                JuicyPixels+Version:             3.2.3.2+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==>>+    .+    This library can load and store images in PNG,Bitmap, Jpeg, Radiance, Tiff and Gif images.++homepage:            https://github.com/Twinside/Juicy.Pixels+License:             BSD3+License-file:        LICENSE+Author:              Vincent Berthoux+Maintainer:          vincent.berthoux@gmail.com+Category:            Codec, Graphics, Image+Stability:           Stable+Build-type:          Simple++-- Constraint on the version of Cabal needed to build this package.+Cabal-version:       >= 1.10++extra-source-files: changelog, docimages/*.png+extra-doc-files: docimages/*.png++Source-Repository head+    Type:      git+    Location:  git://github.com/Twinside/Juicy.Pixels.git++Source-Repository this+    Type:      git+    Location:  git://github.com/Twinside/Juicy.Pixels.git+    Tag:       v3.2.3.2++Flag Mmap+    Description: Enable the file loading via mmap (memory map)+    Default: False++Library+  hs-source-dirs: src+  Default-Language: Haskell2010+  Exposed-modules:  Codec.Picture,+                    Codec.Picture.Bitmap,+                    Codec.Picture.Gif,+                    Codec.Picture.Png,+                    Codec.Picture.Jpg,+                    Codec.Picture.HDR,+                    Codec.Picture.Tga,+                    Codec.Picture.Tiff,+                    Codec.Picture.Saving,+                    Codec.Picture.Types,+                    Codec.Picture.ColorQuant++  Ghc-options: -O3 -Wall+  Ghc-prof-options: -rtsopts -Wall -prof -auto-all+  Build-depends: base                >= 4       && < 5,+                 bytestring          >= 0.9     && < 0.11,+                 mtl                 >= 1.1     && < 2.3,+                 binary              >= 0.5     && < 0.8,+                 zlib                >= 0.5.3.1 && < 0.7,+                 transformers        >= 0.2,+                 vector              >= 0.9     && < 0.11,+                 primitive           >= 0.4     && < 0.7,+                 deepseq             >= 1.1     && < 1.5,+                 containers          >= 0.4.2   && < 0.6++  if flag(Mmap)+    Build-depends: mmap+    CC-Options: "-DWITH_MMAP_BYTESTRING"++  -- Modules not exported by this package.+  Other-modules: Codec.Picture.Jpg.DefaultTable,+                 Codec.Picture.Jpg.FastIdct,+                 Codec.Picture.Jpg.FastDct,+                 Codec.Picture.Jpg.Types,+                 Codec.Picture.Jpg.Common,+                 Codec.Picture.Jpg.Progressive,+                 Codec.Picture.Gif.LZW,+                 Codec.Picture.Gif.LZWEncoding,+                 Codec.Picture.Png.Export,+                 Codec.Picture.Png.Type,+                 Codec.Picture.BitWriter,+                 Codec.Picture.InternalHelper,+                 Codec.Picture.VectorByteConversion++  Install-Includes: src/Codec/Picture/ConvGraph.hs+  Include-Dirs: src/Codec/Picture+
changelog view
@@ -1,175 +1,178 @@--*-change-log-*-
-
-v3.2.3.1 March 2015
- * Bumping: primitive to allow 0.6
- * Fix: BMP output generated wrong size (thanks to mtolly).
- * Fix: 7.10.1 warning free
-
-v3.2.3 March 2015
- * Adding: Support for RGB in jpeg (yeah, that exist...)
- * Adding: Support of CMYK & YCrCbK color space in jpeg files.
- * Addinng: a pixelFoldMap functions analog to the `foldMap` function
-  of the Foldable type class.
- * Fix: better performances for the pixelFold* functions
-
-v3.2.2 January 2015
- * Fix: Squashing GHC 7.10 warnings
-
-v3.2.1 December 2014
- * Fix: Bumping deepseq dependencies preparing for GHC 7.10
-   release.
-
-v3.2 December 2014
- BREAKING CHANGES:
-   the Codec.Picture.Gif functions has changed interfaces.
-
- * Adding: TGA reading.
- * Adding: TGA writing.
- * Adding: Packeable pixel unpack.
- * Fix: Returning gif with transparency (breaking Codec.Picture.Gif interface)
-
-v3.1.7.1 August 2014
- * Previous gif fix was not working withing the readImage
-   function, only in specialized gif images. Correcting
-   miscorection
-
-v3.1.7 August 2014
- * Making Juicy.Pixels compatible with GHC 7.9 HEAD (ggreif)
- * Adding writing to uncompressed radiance file, due to
-   problems with Mac OS X "preview" application
- * Fixing problem of gif parsing without global palette
- * Some inlining annotations on some functions
-
-v3.1.6.1 August 2014
- * Fix of Gif palette creation (jeffreyrosenbluth)
- * Restoring transformers 0.3.* compat
-
-v3.1.6 August 2014
- * Fix bad disposal handling in GIF animations.
- * Added ColorConvertible instance for PixelRGB8 -> PixelRGBA16 (KaiHa)
- * Fixing a bad handling of tRNS causing bad transprency decoding in
-   some circonstances.
- * Adding the concept of Packeable pixel for faster pixel filling
-   using mutable array.
-
-v3.1.5.2 May 2014
- * Bumping the transformers dependency
-
-v3.1.5.1 May 2014
- * Adding some INLINE annotations for some pixel functions
-
-v3.1.5 March 2014
- * Typos and documentation proof reading fixes
-   (pull request from iger).
- * Fix of progressive jpeg loading with more than two
-   huffman tables (4 allowed).
- * Fix of progressive jpeg rendering (was too noisy before)
- * Added loading of paletted bitmap files.
- * Function to load gif images with frame duration
-   information (pull request from bit-shift)
- * Fixing bug showing when loading JPEG with component
-   ID starting at 0.
- * Adding reading for YA8 et YA16 Tiff images (pull 
-   request from iger)
- * Adding a mixWithAlpha method, to help work on transparent
-   pixel types
-
-
-v3.1.4.1 February 2014
- * Putting back data URI logo for cabal description, it's
-   apparently not supported by Hackage :-(
-
-v3.1.4 February 2014
- * Adding a pixelOpacity method to the pixel type class.
- * Adding handling greyscale BMP files (phischu)
- * Fixing promotePixel for Pixel8 -> Pixel16
- * Some type fixes in the documentation
- * Updating the pixel conversion graph
- * Removed URI-encoded images, now using clean cabal embedding
-
-v3.1.3.3 February 2014
- * Lowering cabal version limit to be compiled with older GHCs
-
-v3.1.3.2 January 2014
- * Hacking around Binary to accept old version of it, down to version 0.5
-   allowing Juicy.Pixels to be compiled with GHC 6.3
-
-v3.1.3.1 January 2014
- * Fixing color counting function in color quantisation.
- * Adding missing documentation for foreign pointer import.
-
-v3.1.3 January 2014
- * Adding palette creation (color Quantization) by Jeffrey Rosenbluth.
- * Adding support for Gif writing
- * Adding support for Gif animation writing
- * Fixing some progressive Jpeg decoding problems (#39)
-
-v3.1.2 December 2013
- * Adding support for progressive jpeg.
- * Adding support for plane separated MCU jpeg.
- * Adding support for grayscale 32bit decoding (with reduced precision to
-	16bits).
- * Fixing erroneous bitmap decoding in case of excessive padding (#31).
-
-v3.1.1.1 October 2013
- * Fixing some spurious crash while decoding some JPEG image (#30).
-
-v3.1.1  October 2013
- * Adding uncompresed TIFF saving.
- * Adding error message to avoid loading progressive loading.
- * Made MMAP optional, controled by a cabal flag.
- * adding dynamicPixelMap helper function.
- * Handling png transparency using color key (#26).
-
-v3.1 June 2013
- * Adding basic handling of 16bits pixel types.
- * Addition of Tiff reading:
-    - 2, 4, 8, 16 bit depth reading (planar and contiguous for each).
-    - CMYK, YCbCr, RGB, Paletted, Greyscale.
-    - Uncompressed, PackBits, LZW.
- * Some new tiny helper functions (nothing too fancy).
- * Huge performances improvement.
-
-v3.0 January 2013
- * Simplification of the 'Pixel' typeclass, removed many unused part.
- * Removal of some Storable instances for pixel types.
- * Amelioration of the documentation.
- * Support for High Dynamic range images, opening support for different pixel
-   base component.
- * Support for the Radiance file format (or RGBE, file extension .pic and .hdr).
- * Dropped the cereal library in favor of the last version of Binary, present 
-   in the Haskell platform. Every dependencies are now present in the platform.
-
-v2.0.2 October 2012
- * Decoding of interleaved gif image.
- * Decoding delta coded gif animation.
- * Bumping dependencies.
-
-v2.0.1 September 2012
- * Documentation enhancements.
- * Fixing some huge gif file loading.
- * Fixing performance problem of Bitmap and Jpeg savings.
-
-v2.0 September 2012
- * New extractComponent version with type safe plane extraction.
- * Gif file reading.
-
-v1.3 June 2012
- * Fix extractComponent function.
- * Adding saving for YA8 functions.
-
-v1.2.1 April 2012
- * Dependencies version bump.
- * Dropping array dependency.
-
-v1.2 March 2012
- * Adding a generateImage helper function.
- * Adding NFData instances for image.
- * Adding JPEG writing.
-
-v1.1 February 2012
- * Switching to vector for arrays, big performance improvement.
-
-v1.0 January 2012
- * Initial release
-
+-*-change-log-*-++v3.2.3.2 April 2015+ * Bumping: zlib max bound++v3.2.3.1 March 2015+ * Bumping: primitive to allow 0.6+ * Fix: BMP output generated wrong size (thanks to mtolly).+ * Fix: 7.10.1 warning free++v3.2.3 March 2015+ * Adding: Support for RGB in jpeg (yeah, that exist...)+ * Adding: Support of CMYK & YCrCbK color space in jpeg files.+ * Addinng: a pixelFoldMap functions analog to the `foldMap` function+  of the Foldable type class.+ * Fix: better performances for the pixelFold* functions++v3.2.2 January 2015+ * Fix: Squashing GHC 7.10 warnings++v3.2.1 December 2014+ * Fix: Bumping deepseq dependencies preparing for GHC 7.10+   release.++v3.2 December 2014+ BREAKING CHANGES:+   the Codec.Picture.Gif functions has changed interfaces.++ * Adding: TGA reading.+ * Adding: TGA writing.+ * Adding: Packeable pixel unpack.+ * Fix: Returning gif with transparency (breaking Codec.Picture.Gif interface)++v3.1.7.1 August 2014+ * Previous gif fix was not working withing the readImage+   function, only in specialized gif images. Correcting+   miscorection++v3.1.7 August 2014+ * Making Juicy.Pixels compatible with GHC 7.9 HEAD (ggreif)+ * Adding writing to uncompressed radiance file, due to+   problems with Mac OS X "preview" application+ * Fixing problem of gif parsing without global palette+ * Some inlining annotations on some functions++v3.1.6.1 August 2014+ * Fix of Gif palette creation (jeffreyrosenbluth)+ * Restoring transformers 0.3.* compat++v3.1.6 August 2014+ * Fix bad disposal handling in GIF animations.+ * Added ColorConvertible instance for PixelRGB8 -> PixelRGBA16 (KaiHa)+ * Fixing a bad handling of tRNS causing bad transprency decoding in+   some circonstances.+ * Adding the concept of Packeable pixel for faster pixel filling+   using mutable array.++v3.1.5.2 May 2014+ * Bumping the transformers dependency++v3.1.5.1 May 2014+ * Adding some INLINE annotations for some pixel functions++v3.1.5 March 2014+ * Typos and documentation proof reading fixes+   (pull request from iger).+ * Fix of progressive jpeg loading with more than two+   huffman tables (4 allowed).+ * Fix of progressive jpeg rendering (was too noisy before)+ * Added loading of paletted bitmap files.+ * Function to load gif images with frame duration+   information (pull request from bit-shift)+ * Fixing bug showing when loading JPEG with component+   ID starting at 0.+ * Adding reading for YA8 et YA16 Tiff images (pull +   request from iger)+ * Adding a mixWithAlpha method, to help work on transparent+   pixel types+++v3.1.4.1 February 2014+ * Putting back data URI logo for cabal description, it's+   apparently not supported by Hackage :-(++v3.1.4 February 2014+ * Adding a pixelOpacity method to the pixel type class.+ * Adding handling greyscale BMP files (phischu)+ * Fixing promotePixel for Pixel8 -> Pixel16+ * Some type fixes in the documentation+ * Updating the pixel conversion graph+ * Removed URI-encoded images, now using clean cabal embedding++v3.1.3.3 February 2014+ * Lowering cabal version limit to be compiled with older GHCs++v3.1.3.2 January 2014+ * Hacking around Binary to accept old version of it, down to version 0.5+   allowing Juicy.Pixels to be compiled with GHC 6.3++v3.1.3.1 January 2014+ * Fixing color counting function in color quantisation.+ * Adding missing documentation for foreign pointer import.++v3.1.3 January 2014+ * Adding palette creation (color Quantization) by Jeffrey Rosenbluth.+ * Adding support for Gif writing+ * Adding support for Gif animation writing+ * Fixing some progressive Jpeg decoding problems (#39)++v3.1.2 December 2013+ * Adding support for progressive jpeg.+ * Adding support for plane separated MCU jpeg.+ * Adding support for grayscale 32bit decoding (with reduced precision to+	16bits).+ * Fixing erroneous bitmap decoding in case of excessive padding (#31).++v3.1.1.1 October 2013+ * Fixing some spurious crash while decoding some JPEG image (#30).++v3.1.1  October 2013+ * Adding uncompresed TIFF saving.+ * Adding error message to avoid loading progressive loading.+ * Made MMAP optional, controled by a cabal flag.+ * adding dynamicPixelMap helper function.+ * Handling png transparency using color key (#26).++v3.1 June 2013+ * Adding basic handling of 16bits pixel types.+ * Addition of Tiff reading:+    - 2, 4, 8, 16 bit depth reading (planar and contiguous for each).+    - CMYK, YCbCr, RGB, Paletted, Greyscale.+    - Uncompressed, PackBits, LZW.+ * Some new tiny helper functions (nothing too fancy).+ * Huge performances improvement.++v3.0 January 2013+ * Simplification of the 'Pixel' typeclass, removed many unused part.+ * Removal of some Storable instances for pixel types.+ * Amelioration of the documentation.+ * Support for High Dynamic range images, opening support for different pixel+   base component.+ * Support for the Radiance file format (or RGBE, file extension .pic and .hdr).+ * Dropped the cereal library in favor of the last version of Binary, present +   in the Haskell platform. Every dependencies are now present in the platform.++v2.0.2 October 2012+ * Decoding of interleaved gif image.+ * Decoding delta coded gif animation.+ * Bumping dependencies.++v2.0.1 September 2012+ * Documentation enhancements.+ * Fixing some huge gif file loading.+ * Fixing performance problem of Bitmap and Jpeg savings.++v2.0 September 2012+ * New extractComponent version with type safe plane extraction.+ * Gif file reading.++v1.3 June 2012+ * Fix extractComponent function.+ * Adding saving for YA8 functions.++v1.2.1 April 2012+ * Dependencies version bump.+ * Dropping array dependency.++v1.2 March 2012+ * Adding a generateImage helper function.+ * Adding NFData instances for image.+ * Adding JPEG writing.++v1.1 February 2012+ * Switching to vector for arrays, big performance improvement.++v1.0 January 2012+ * Initial release+