# Image

This class implements an image.

The image contents are stored in the process memory, not in the display server like a Picture.

This class is creatable.

`DIM hImage AS Image hImage = NEW Image ( [ Width AS Integer, Height AS Integer ] )`

Creates a new image.

If Width and Height are not specified, then the new image is void.

This class acts like an array.

`DIM hImage AS Image DIM anInteger AS Integer anInteger = hImage [ X AS Integer, Y AS Integer ]`

Returns the color of an image pixel.

`DIM hImage AS Image DIM anInteger AS Integer hImage [ X AS Integer, Y AS Integer ] = anInteger`

Sets the color of an image pixel.

Properties |  | Methods |
--- | --- | --- | ---
Depth Height Picture Width |  | Clear Copy Fill Flip Load Mirror Replace Resize Rotate Save Stretch |