CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
BmpFileCreator Class Reference

#include <BmpFileCreator.h>

Static Public Member Functions

static OdStreamBufPtr createBmpFromSource (const OdUInt8 *data, int width, int height, int byteCount)
 

Detailed Description

A helper class that provides the creation of a bitmap image functionality.

Definition at line 32 of file BmpFileCreator.h.

Member Function Documentation

◆ createBmpFromSource()

static OdStreamBufPtr BmpFileCreator::createBmpFromSource ( const OdUInt8 * data,
int width,
int height,
int byteCount )
static

Creates a new bitmap image from a specified source.

Parameters
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.
Returns
A smart pointer to the <exref target="https://docs.opendesign.com/tkernel_api_cpp/OdStreamBuf.html">OdStreamBuf</exref> object that contains the bitmap image data.

The documentation for this class was generated from the following file: