-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | JuicyPixels support for WebP format
--
-- Haskell library for webp format, via c2hs and libwebp.
@package webp
@version 0.1.0.2
module WebP.Decode
webPDecodeRGBA :: Ptr a -> CSize -> IO (Ptr UInt8, CInt, CInt)
webPDecodeRGB :: Ptr a -> CSize -> IO (Ptr UInt8, CInt, CInt)
webPDecodeYUV :: Ptr a -> CSize -> IO (Ptr UInt8, CInt, CInt, Ptr UInt8, Ptr UInt8, CInt, CInt)
type UInt8 = (CUChar)
module WebP.Encode
webPEncodeRGB :: Ptr UInt8 -> CInt -> CInt -> CInt -> CFloat -> IO (CSize, Ptr UInt8)
webPEncodeRGBA :: Ptr UInt8 -> CInt -> CInt -> CInt -> CFloat -> IO (CSize, Ptr UInt8)
webPEncodeLosslessRGB :: Ptr UInt8 -> CInt -> CInt -> CInt -> IO (CSize, Ptr UInt8)
webPEncodeLosslessRGBA :: Ptr UInt8 -> CInt -> CInt -> CInt -> IO (CSize, Ptr UInt8)
module WebP.Types
webPFree :: FunPtr (Ptr a -> IO ())
module Codec.Picture.WebP
decodeRgb8 :: ByteString -> Image PixelRGB8
decodeRgba8 :: ByteString -> Image PixelRGBA8
encodeRgb8Lossless :: Image PixelRGB8 -> ByteString
encodeRgba8Lossless :: Image PixelRGBA8 -> ByteString
encodeRgb8 :: CFloat -> Image PixelRGB8 -> ByteString
encodeRgba8 :: CFloat -> Image PixelRGBA8 -> ByteString