std.image.protocol

-blank

multimethod

added in 3.0

creates an empty image

-display

multimethod

added in 3.0

displays an image

-display-class

multimethod

added in 3.0

types that are able to be displayed

-image

multimethod

added in 3.0

creates an image based on inputs

-image-meta

multimethod

added in 3.0

additional information about the image

-read

multimethod

added in 3.0

reads an image from file

IRepresentation

protocol

members

-channels

(-channels img)

-data

(-data img)

-model

(-model img)

-size

(-size img)

-subimage

(-subimage img x y w h)

ISize

protocol

members

-height

(-height dim)

-width

(-width dim)

ITransfer

protocol

members

-to-byte-gray

(-to-byte-gray image)

-to-int-argb

(-to-int-argb image)

-write

(-write image opts sink)

ITransform

protocol

members

-op

(-op transform img args opts)