API Reference > Extension Classes > ExServices Classes > ExRasterModule Class > ExRasterModule Methods > saveRasterImage Method > ExRasterModule::saveRasterImage Method (OdGiRasterImage*, OdString&, OdUInt32, OdUInt32 *)
ExRasterModule::saveRasterImage Method (OdGiRasterImage*, OdString&, OdUInt32, OdUInt32 *)
Syntax
C++
bool saveRasterImage(const OdGiRasterImage* rasterImage, const OdString& filename, OdUInt32 type, const OdUInt32 * pFlagsChain = NULL);
Parameters 
Description 
const OdGiRasterImage* rasterImage 
[in] Raster image to be saved.  
const OdString& filename 
[in] Filename of the Raster Image file to be written.  
OdUInt32 type 
[in] Image format type to be written.  
const OdUInt32 * pFlagsChain = NULL 
[in] Optional zero-terminated saving flag pairs array. 

Saves specified Raster Image to the specified file.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.