# ee.Image.metadata

Generates a constant image of type double from a metadata property.

<br />

| Usage | Returns |
|---|---|
| `Image.metadata(property, *name*)` | Image |

| Argument | Type | Details |
|---|---|---|
| this: `image` | Image | The image from which to get the metadata |
| `property` | String | The property from which to take the value. |
| `name` | String, default: null | The name for the output band. If unspecified, it will be the same as the property name. |