API Reference > Extension Classes > ExServices Classes > ExRasterModule Class > ExRasterModule Methods > getImageFormat Method > ExRasterModule::getImageFormat Method (OdString &)
ExRasterModule::getImageFormat Method (OdString &)
Syntax
C++
OdUInt32 getImageFormat(const OdString & filename) const;
Parameters 
Description 
const OdString & filename 
[in] Filename of the Raster Image file to be checked. 

Try to detect image format type from input stream.

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