## 27.9 Images

The class `Tk.image` provides the following methods. An example can be found in Section 3.6 of ``Window Programming in Mozart'', for reference documentation see `image`.

`tkInit`

  > > `tkInit(type:` `+TypeTcl``
  > > url:` `+UrlV``<= unit
  > > maskurl:` `+MarkUrlV``<= unit
  > > ...)`

  Creates a new image.

`tk`

  > > `tk(...)`

  Sends a command for `self` to the graphics engine.

`tkReturn`

  > > `tkReturn(...` `?S``)
  > > tkReturnString(...` `?S``)
  > > tkReturnAtom(...` `?A``)
  > > tkReturnInt(...` `?IB``)
  > > tkReturnFloat(...` `?FB``)
  > > tkReturnList(...` `?Ss``)
  > > tkReturnListString(...` `?Ss``)
  > > tkReturnListAtom(...` `?As``)
  > > tkReturnListInt(...` `?IBs``)
  > > tkReturnListFloat(...` `?FBs``)`

  Sends a command for `self` to the graphics engine and returns the result in the field with the highest integer feature.

`tkClose`

  > > `tkClose()`

  Destroys the image and closes the image object.