transform_pixel_format method

transform_pixel_format(self, pixel_format)

Transform pixel’s layout to new pixel format.


def transform_pixel_format(self, pixel_format):
    ...
ParameterTypeDescription
pixel_formatPixelFormatDestination pixel format

Exceptions

ExceptionDescription
NotSupportedExceptionWhen the source or destination pixel format is not supported

See Also