friday-devil 0.1.1.0 → 0.1.1.1
raw patch · 2 files changed
+2/−5 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Vision.Image.Storage.DevIL: instance Convertible StorageImage StorageImage
Files
friday-devil.cabal view
@@ -2,7 +2,7 @@ -- +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.1.1.0+version: 0.1.1.1 synopsis: Uses the DevIL C library to read and write images from and to files and memory buffers. homepage: https://github.com/RaphaelJ/friday-devil
src/Vision/Image/Storage/DevIL.hsc view
@@ -84,10 +84,6 @@ -- Instances ------------------------------------------------------------------- -instance Convertible StorageImage StorageImage where- safeConvert = Right- {-# INLINE safeConvert #-}- instance Convertible Grey StorageImage where safeConvert = Right . GreyStorage {-# INLINE safeConvert #-}@@ -100,6 +96,7 @@ safeConvert = Right . RGBStorage {-# INLINE safeConvert #-} +-- | Note: Convertible StorageImage StorageImage is provided by this instance. instance (Convertible Grey i, Convertible RGB i, Convertible RGBA i) => Convertible StorageImage i where safeConvert (GreyStorage img) = Right $ convert img