webp 0.1.0.1 → 0.1.0.2
raw patch · 2 files changed
+6/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- src/Codec/Picture/WebP.hs +4/−3
- webp.cabal +2/−2
src/Codec/Picture/WebP.hs view
@@ -1,4 +1,5 @@-{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE TypeOperators #-} module Codec.Picture.WebP ( decodeRgb8 , decodeRgba8@@ -52,7 +53,7 @@ -> Image p -> CFloat -> BS.ByteString-encodeJuicyPixels encoder pxFactor img = encodeAbsBS encoder h w bytes pxFactor -- JuicyPixels and libwebp define weidth/height in opposite way?+encodeJuicyPixels encoder pxFactor img = encodeAbsBS encoder w h bytes pxFactor where (Image w h bytes) = img encodeJuicyPixelsLossless :: (PixelBaseComponent p ~ Word8)@@ -60,7 +61,7 @@ -> Int -> Image p -> BS.ByteString-encodeJuicyPixelsLossless encoder pxFactor img = encodeAbsBSLossless encoder h w bytes pxFactor -- JuicyPixels and libwebp define weidth/height in opposite way?+encodeJuicyPixelsLossless encoder pxFactor img = encodeAbsBSLossless encoder w h bytes pxFactor where (Image w h bytes) = img decodeJuicyPixels :: (PixelBaseComponent p ~ Word8)
webp.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: webp-version: 0.1.0.1+version: 0.1.0.2 license: GPL-3 license-file: LICENSE copyright: Copyright: (c) 2020 Vanessa McHale@@ -36,7 +36,7 @@ WebP.Types default-language: Haskell2010- other-extensions: TypeFamilies+ other-extensions: TypeFamilies TypeOperators ghc-options: -Wall build-depends: base >=4.7 && <5,