Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module dedicated of Radiance file decompression (.hdr or .pic) file. Radiance file format is used for High dynamic range imaging.
- decodeHDR :: ByteString -> Either String DynamicImage
- decodeHDRWithMetadata :: ByteString -> Either String (DynamicImage, Metadatas)
- encodeHDR :: Image PixelRGBF -> ByteString
- encodeRawHDR :: Image PixelRGBF -> ByteString
- encodeRLENewStyleHDR :: Image PixelRGBF -> ByteString
- writeHDR :: FilePath -> Image PixelRGBF -> IO ()
- writeRLENewStyleHDR :: FilePath -> Image PixelRGBF -> IO ()
Documentation
decodeHDR :: ByteString -> Either String DynamicImage Source #
Decode an HDR (radiance) image, the resulting image can be:
decodeHDRWithMetadata :: ByteString -> Either String (DynamicImage, Metadatas) Source #
Equivalent to decodeHDR but with aditional metadatas.
encodeHDR :: Image PixelRGBF -> ByteString Source #
Encode an High dynamic range image into a radiance image file format. Alias for encodeRawHDR
encodeRawHDR :: Image PixelRGBF -> ByteString Source #
Encode an High dynamic range image into a radiance image file format. without compression
encodeRLENewStyleHDR :: Image PixelRGBF -> ByteString Source #
Encode an High dynamic range image into a radiance image file format using a light RLE compression. Some problems seem to arise with some image viewer.