Codec.Picture.Types

# Types

## Image types

data Image a

data MutableImage s a

data DynamicImage

data PalettedImage

type Palette

data Palette' px

## Image functions

createMutableImage

newMutableImage

freezeImage

unsafeFreezeImage

thawImage

unsafeThawImage

## Image Lenses

type Traversal s t a b

imagePixels

imageIPixels

## Pixel types

type Pixel8

type Pixel16

type Pixel32

type PixelF

data PixelYA8

data PixelYA16

data PixelRGB8

data PixelRGB16

data PixelRGBF

data PixelRGBA8

data PixelRGBA16

data PixelCMYK8

data PixelCMYK16

data PixelYCbCr8

data PixelYCbCrK8

# Type classes

class ColorConvertible a b

class Pixel a

class ColorSpaceConvertible a b

class LumaPlaneExtractable a

class TransparentPixel a b

# Helper functions

pixelMap

pixelMapXY

pixelFold

pixelFoldM

pixelFoldMap

dynamicMap

dynamicPixelMap

palettedToTrueColor

palettedAsImage

dropAlphaLayer

withImage

zipPixelComponent3

generateImage

generateFoldImage

gammaCorrection

toneMapping

# Color plane extraction

class ColorPlane pixel planeToken

data PlaneRed

data PlaneGreen

data PlaneBlue

data PlaneAlpha

data PlaneLuma

data PlaneCr

data PlaneCb

data PlaneCyan

data PlaneMagenta

data PlaneYellow

data PlaneBlack

extractComponent

unsafeExtractComponent

# Packeable writing (unsafe but faster)

class PackeablePixel a

fillImageWith

readPackedPixelAt

writePackedPixelAt

unsafeWritePixelBetweenAt