Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
ExRasterModule::convertRasterImage Method (const OdGiRasterImage*, OdUInt32, OdStreamBuf*, const OdUInt32 *)
Syntax
C++
bool convertRasterImage(const OdGiRasterImage* pRaster, OdUInt32 type, OdStreamBuf* pStreamBuf, const OdUInt32 * pFlagsChain = NULL);

Try to convert raster image (RGB) to JPEG or other type.

Parameters
Description
pRaster
[in] Raster image to be converted.
type
[in] Image format type to be converted.
pStreamBuf
[in] Pointer to the StreamBuf object to which the data are to be stored.
pFlagsChain
[in] Optional zero-terminated saving flag pairs array.
Copyright © 2002-2022. Open Design Alliance All rights reserved.