pub unsafe extern "C" fn OH_PixelmapNative_ToSdr(
pixelmap: *mut OH_PixelmapNative,
) -> Image_ErrorCodeExpand description
@brief Convert {@link OH_PixelmapNative} to standard dynamic range.
@param pixelmap The Pixelmap pointer will be operated. Pointer connot be null. @return Returns {@link Image_ErrorCode} IMAGE_SUCCESS - The operation is successful. returns {@link Image_ErrorCode} IMAGE_BAD_PARAMETER - Parameter error.Possible causes:Parameter verification failed. returns {@link Image_ErrorCode} IMAGE_UNSUPPORTED_OPERATION - Unsupported operation.Pixelmap can’t be converted. @since 12