API Reference > OdRx Classes > OdRxRasterServices Class > OdRxRasterServices Methods > getImageFormat Method > OdRxRasterServices::getImageFormat Method (OdString &)
OdRxRasterServices::getImageFormat Method (OdString &)
Syntax
C++
virtual OdUInt32 getImageFormat(const OdString & filename) const = 0;
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.