Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
BmpFileCreator::createBmpFromSource Method
Syntax
C++
static OdStreamBufPtr createBmpFromSource(const OdUInt8* data, int width, int height, int byteCount);

Creates a new bitmap image from a specified source.

Parameters
Description
data
[in] A raw pointer to the bitmap image data (an array of bytes).
width
[in] The width of the bitmap image.
height
[in] The heigth of the bitmap image.
byteCount
[in] A number of bytes to be read.

A smart pointer to the OdStreamBuf object that contains the bitmap image data.

Copyright © 2002-2022. Open Design Alliance All rights reserved.