# Images

This is the API for labels:

```
  Default origin = yappCoordBox: box[0,0,0]

  Parameters:
   p(0) = posx
   p(1) = posy/z
   p(2) = rotation degrees CCW
   p(3) = depth : positive values go into case (Remove) negative values are raised (Add)
   p(4) = { yappLeft, yappRight, yappFront, yappBack, yappLid, yappBase } : plane
   p(5) = "image filename.svg"
  Optional:
   p(6) = Scale : Default = 1 : ratio to scale image by (making it larger or smaller)

```

Here is the code for the labels in the next images:

```
imagesPlane =
[
  [ 10, 10, 180, 0.5, yappLid, "logo.svg", 1.25 ]
];
```

<figure><img src="https://832938294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI46RW7gXIHinmkl2pBq%2Fuploads%2F5sxAU5qonms198ia2DNr%2F313781514-ca6b2599-8c68-4e8b-aa70-75cac555252d.png?alt=media&#x26;token=bbead991-6d9e-487b-9724-0f02278aaa89" alt=""><figcaption><p>The RX/TX is a text label, and the other red stuff is an SVG logo.</p></figcaption></figure>
