Safe Haskell | None |
---|---|
Language | Haskell2010 |
- rgbImageNew :: ByteString -> Size -> Maybe Depth -> Maybe LineSize -> IO (Ref RGBImage)
- checkImage :: (Parent orig RGBImage, Match x ~ FindOp orig (GetW ()), Op (GetW ()) x orig (IO Int), Match y ~ FindOp orig (Destroy ()), Op (Destroy ()) y orig (IO ())) => Ref orig -> IO (Either UnknownError (Ref orig))
Documentation
checkImage :: (Parent orig RGBImage, Match x ~ FindOp orig (GetW ()), Op (GetW ()) x orig (IO Int), Match y ~ FindOp orig (Destroy ()), Op (Destroy ()) y orig (IO ())) => Ref orig -> IO (Either UnknownError (Ref orig)) Source
Hierarchy
Functions
colorAverage :: Ref
RGBImage
-> Color
-> Float
-> IO
()
copy:: (Parent
a RGBImage
) => Ref
RGBImage
-> Maybe
Size
-> IO
(Maybe
(Ref
a))
desaturate :: Ref
RGBImage
-> IO
()
destroy :: Ref
RGBImage
-> IO
()
draw :: Ref
RGBImage
-> Position
-> IO
()
drawResize :: Ref
RGBImage
-> Position
-> Size
-> Maybe
X
-> Maybe
Y
-> IO
()
getCount :: Ref
RGBImage
-> IO
(Int
)
getD :: Ref
RGBImage
-> IO
(Int
)
getH :: Ref
RGBImage
-> IO
(Int
)
getLd :: Ref
RGBImage
-> IO
(Int
)
getW :: Ref
RGBImage
-> IO
(Int
)