# tflite_support.metadata_schema_py_generated.ImageProperties

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L390-L427) |

## Methods

### `ColorSpace`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L413-L417)

```python
ColorSpace()
```

### `DefaultSize`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L420-L427)

```python
DefaultSize()
```

### `GetRootAs`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L393-L398)

```python
@classmethod
GetRootAs(
    buf, offset=0
)
```

### `GetRootAsImageProperties`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L400-L403)

```python
@classmethod
GetRootAsImageProperties(
    buf, offset=0
)
```

This method is deprecated. Please switch to GetRootAs.

### `ImagePropertiesBufferHasIdentifier`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L404-L406)

```python
@classmethod
ImagePropertiesBufferHasIdentifier(
    buf, offset, size_prefixed=False
)
```

### `Init`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L409-L410)

```python
Init(
    buf, pos
)
```