Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readImage :: FilePath -> IO (Either String DynamicImage)JuicyPixels Codec.Picture Load an image file without even thinking about it, it does everything as decodeImage
readImageWithMetadata :: FilePath -> IO (Either String (DynamicImage, Metadatas))JuicyPixels Codec.Picture Equivalent to readImage but also providing metadatas.
readJpeg :: FilePath -> IO (Either String DynamicImage)JuicyPixels Codec.Picture Try to load a jpeg file and decompress. The colorspace is still YCbCr if you want to perform computation on the luma part. You can convert it to RGB using colorSpaceConversion.
readPixel :: (Pixel a, PrimMonad m) => MutableImage (PrimState m) a -> Int -> Int -> m aJuicyPixels Codec.Picture Same as pixelAt but for mutable images.
readPng :: FilePath -> IO (Either String DynamicImage)JuicyPixels Codec.Picture Helper function trying to load a png file from a file on disk.
readTGA :: FilePath -> IO (Either String DynamicImage)JuicyPixels Codec.Picture Try to load a .tga file from disk.
readTiff :: FilePath -> IO (Either String DynamicImage)JuicyPixels Codec.Picture Helper function trying to load tiff file from a file on disk.
readerIndex :: JpgUnpackerParameter -> {-# UNPACK #-} !IntJuicyPixels Codec.Picture.Jpg.Internal.Common No documentation available.
readerIndex :: JpgUnpackerParameter -> {-# UNPACK #-} !IntJuicyPixels Codec.Picture.Jpg.Internal.Progressive No documentation available.
-
JuicyPixels Codec.Picture.Types Read a packeable pixel from an image. Equivalent to unsafeReadPixel