JuicyPixels-3.1.6.1: Picture loading/serialization (in png, jpeg, bitmap, gif, tiff and radiance)

Safe HaskellNone
LanguageHaskell2010

Codec.Picture.HDR

Description

Module dedicated of Radiance file decompression (.hdr or .pic) file. Radiance file format is used for High dynamic range imaging.

Synopsis

Documentation

decodeHDR :: ByteString -> Either String DynamicImage

Decode an HDR (radiance) image, the resulting pixel type can be :

  • PixelRGBF

encodeHDR :: Image PixelRGBF -> ByteString

Encode an High dynamic range image into a radiance image file format.

writeHDR :: FilePath -> Image PixelRGBF -> IO ()

Write an High dynamic range image into a radiance image file on disk.