Write an image in a file use the bitmap format.
ModuleJuicyPixels-3.3.8Haskell2010
Codec.Picture.Bitmap
Modules used for Bitmap file (.bmp) file loading and writing
- 1 class
- 9 values
- PackageJuicyPixels-3.3.8
- Exports10
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceBitmap.hs
Functions
9 declarationsEncode an image into a bytestring in .bmp format ready to be written on disk.
Equivalent to encodeBitmap but also store the following metadatas:
Try to decode a bitmap image. Right now this function can output the following image:
Same as decodeBitmap but also extracts metadata.
Same as decodeBitmap but also extracts metadata and provide separated palette.
Encode a dynamic image in BMP if possible, supported images are:
Write a dynamic image in a .bmp image file if possible. The same restriction as encodeDynamicBitmap apply.
Accepted format in output
1 declarationAll the instance of this class can be written as a bitmap file using this library.
Instances3BmpEncodable
BmpEncodable Pixel8Defined in JuicyPixels-3.3.8 · Codec.Picture.BitmapBmpEncodable PixelRGB8Defined in JuicyPixels-3.3.8 · Codec.Picture.BitmapBmpEncodable PixelRGBA8Defined in JuicyPixels-3.3.8 · Codec.Picture.Bitmap