Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readBitmap :: FilePath -> IO (Either String DynamicImage)

    JuicyPixels Codec.Picture

    Try to load a .bmp file. The colorspace would be RGB, RGBA or Y.

  2. writeBitmap :: BmpEncodable pixel => FilePath -> Image pixel -> IO ()

    JuicyPixels Codec.Picture

    Write an image in a file use the bitmap format.

  3. writeDynamicBitmap :: FilePath -> DynamicImage -> IO (Either String Bool)

    JuicyPixels Codec.Picture

    Write a dynamic image in a .bmp image file if possible. The same restriction as encodeDynamicBitmap apply.

  4. module Codec.Picture.Bitmap

    Modules used for Bitmap file (.bmp) file loading and writing

  5. decodeBitmap :: ByteString -> Either String DynamicImage

    JuicyPixels Codec.Picture.Bitmap

    Try to decode a bitmap image. Right now this function can output the following image:

  6. decodeBitmapWithMetadata :: ByteString -> Either String (DynamicImage, Metadatas)

    JuicyPixels Codec.Picture.Bitmap

    Same as decodeBitmap but also extracts metadata.

  7. decodeBitmapWithPaletteAndMetadata :: ByteString -> Either String (PalettedImage, Metadatas)

    JuicyPixels Codec.Picture.Bitmap

    Same as decodeBitmap but also extracts metadata and provide separated palette.

  8. encodeBitmap :: BmpEncodable pixel => Image pixel -> ByteString

    JuicyPixels Codec.Picture.Bitmap

    Encode an image into a bytestring in .bmp format ready to be written on disk.

  9. encodeBitmapWithMetadata :: BmpEncodable pixel => Metadatas -> Image pixel -> ByteString

    JuicyPixels Codec.Picture.Bitmap

    Equivalent to encodeBitmap but also store the following metadatas:

  10. encodeBitmapWithPaletteAndMetadata :: BmpEncodable pixel => Metadatas -> BmpPalette -> Image pixel -> ByteString

    JuicyPixels Codec.Picture.Bitmap

    Equivalent to encodeBitmapWithPalette but also store the following metadatas:

Page 478 of many | Previous | Next