packages feed

massiv-io 0.1.8.0 → 0.1.9.0

raw patch · 3 files changed

+10/−6 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.1.9++* Fix `HDR` decoding, i.e. `.hdr` and `.pic` file reading.+ # 0.1.8  * Fix reading images that have more than 8bit per channel:
massiv-io.cabal view
@@ -1,5 +1,5 @@ name:                massiv-io-version:             0.1.8.0+version:             0.1.9.0 synopsis:            Import/export of Image files into massiv Arrays description:         This package contains functionality for import/export of arrays                      into the real world. For now it only has the ability to read/write
src/Data/Massiv/Array/IO/Image/JuicyPixels.hs view
@@ -304,11 +304,11 @@  instance ColorSpace cs e =>          Readable (Sequence GIF) (Array B Ix1 (Image S cs e)) where-  decode f _ bs = decodeGIFs f fromDynamicImage bs+  decode f _ = decodeGIFs f fromDynamicImage  instance (Mutable r Ix2 (Pixel cs e), ColorSpace cs e) =>          Readable (Sequence (Auto GIF)) (Array B Ix1 (Image r cs e)) where-  decode f _ bs = decodeGIFs f fromAnyDynamicImage bs+  decode f _ = decodeGIFs f fromAnyDynamicImage   instance (ColorSpace cs e, Source r Ix2 (Pixel cs e)) =>@@ -319,7 +319,7 @@  instance ColorSpace cs e =>          Readable (Sequence GIF) (Array B Ix1 (JP.GifDelay, Image S cs e)) where-  decode f _ bs = decodeGIFsWithDelays f fromDynamicImage bs+  decode f _ = decodeGIFsWithDelays f fromDynamicImage   @@ -458,11 +458,11 @@   instance ColorSpace cs e => Readable HDR (Image S cs e) where-  decode f _ = fromEitherDecode f showJP fromDynamicImage . JP.decodePng+  decode f _ = fromEitherDecode f showJP fromDynamicImage . JP.decodeHDR  instance (Mutable r Ix2 (Pixel cs e), ColorSpace cs e) =>          Readable (Auto HDR) (Image r cs e) where-  decode f _ = fromEitherDecode f showJP fromAnyDynamicImage . JP.decodePng+  decode f _ = fromEitherDecode f showJP fromAnyDynamicImage . JP.decodeHDR