MyImage Type

Encapsulates an image, which includes both the byte pixel data and its associated attributes.

Record fields

Record Field Description

Data

Full Usage: Data

Field type: byte array
Field type: byte array

Height

Full Usage: Height

Field type: int
Field type: int

Name

Full Usage: Name

Field type: string
Field type: string

Width

Full Usage: Width

Field type: int
Field type: int

Constructors

Constructor Description

MyImage(data, width, height, name)

Full Usage: MyImage(data, width, height, name)

Parameters:
    data : byte array
    width : int
    height : int
    name : string

Returns: MyImage
data : byte array
width : int
height : int
name : string
Returns: MyImage