HDRUtils-1.0.2: Utilities for reading, manipulating, and writing HDR imagesSource codeContentsIndex
Graphics.Image.PFS
Synopsis
data FPFrame = FPFrame {
tags :: [(String, String)]
channelX :: StorableArray (Int, Int) CFloat
channelY :: StorableArray (Int, Int) CFloat
channelZ :: StorableArray (Int, Int) CFloat
channels :: Map String (StorableArray (Int, Int) CFloat)
width :: Int
height :: Int
}
hReadFrame :: Handle -> IO FPFrame
readFrameFromFile :: FilePath -> IO FPFrame
writeFrameToFile :: FilePath -> FPFrame -> IO ()
hWriteFrame :: Handle -> FPFrame -> IO ()
getFrame :: IO FPFrame
putFrame :: FPFrame -> IO ()
Documentation
data FPFrame Source
Datatype representing a floating point image frame
Constructors
FPFrame
tags :: [(String, String)]
channelX :: StorableArray (Int, Int) CFloat
channelY :: StorableArray (Int, Int) CFloat
channelZ :: StorableArray (Int, Int) CFloat
channels :: Map String (StorableArray (Int, Int) CFloat)
width :: Int
height :: Int
show/hide Instances
hReadFrame :: Handle -> IO FPFrameSource
Read a frame from a handle
readFrameFromFile :: FilePath -> IO FPFrameSource
writeFrameToFile :: FilePath -> FPFrame -> IO ()Source
Write a frame to a PFS file
hWriteFrame :: Handle -> FPFrame -> IO ()Source
Write a frame to a Handle
getFrame :: IO FPFrameSource
get a frame from stdin
putFrame :: FPFrame -> IO ()Source
put a frame to stdout
Produced by Haddock version 2.4.2