bitmap-0.0.0: A library for handling and manipulating bitmaps.

Data.Bitmap.Base

Contents

Synopsis

Types

type Size = (Int, Int)Source

type Offset = (Int, Int)Source

data Bitmap t Source

Instances

Show (Bitmap t) 

bitmapSize :: Bitmap t -> SizeSource

(width,height)

bitmapNChannels :: Bitmap t -> NChnSource

number of channels (eg. 3 for RGB)

bitmapRowPadding :: Bitmap t -> PaddingSource

the padding of the rows, measured in bytes

bitmapRowAlignment :: Bitmap t -> AlignmentSource

the alignment of the rows (in bytes)