
## transform_pixel_format(self, pixel_format) {#aspose.threed.render.PixelFormat}

Transform pixel's layout to new pixel format.



```python

def transform_pixel_format(self, pixel_format):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| pixel_format | aspose.threed.render.PixelFormat | Destination pixel format |
### Exceptions
| Exception | Description |
| :- | :- |
| NotSupportedException | When the source or destination pixel format is not supported |





### See Also
* module [`aspose.threed.render`](../../)
* class [`TextureData`](/3d/python-net/aspose.threed.render/texturedata)
