# Viewing images

### 15.3.3 Viewing images

Xcas can display images in rectangles in two-dimensions or on surfaces in three-dimensions with the gl_texture property of the object (see Section 7.3.1).

#### Examples.

Assume that xcaslogo.png is a picture of the Xcas logo.

- Input:
  rectangle(0,200,1/2,gl_texture="xcaslogo.png")
  Output:
- Input:
  sphere([0,0,0],1,gl_material=[gl_texture,"xcaslogo.png"])
  Output: