SMIL  1.1
ImageFileInfo Struct Reference
+ Collaboration diagram for ImageFileInfo:

Public Types

enum  ColorType {
  COLOR_TYPE_GRAY , COLOR_TYPE_RGB , COLOR_TYPE_GA , COLOR_TYPE_RGBA ,
  COLOR_TYPE_BINARY , COLOR_TYPE_UNKNOWN
}
 
enum  ScalarType {
  SCALAR_TYPE_UINT8 , SCALAR_TYPE_UINT16 , SCALAR_TYPE_INT8 , SCALAR_TYPE_INT16 ,
  SCALAR_TYPE_FLOAT , SCALAR_TYPE_DOUBLE , SCALAR_TYPE_UNKNOWN
}
 
enum  FileType { FILE_TYPE_ASCII , FILE_TYPE_BINARY }
 

Public Member Functions

void printSelf (ostream &os=std::cout)
 Print content of ImageFileInfo. More...
 

Public Attributes

bool valid
 
string filename
 
UINT channels
 
ColorType colorType
 
ScalarType scalarType
 
FileType fileType
 
size_t width
 
size_t height
 
size_t depth
 
streampos dataStartPos
 

Member Function Documentation

◆ printSelf()

void printSelf ( ostream &  os = std::cout)

Print content of ImageFileInfo.

Parameters
[in]os: output stream to write to

Example

import smilPython as sp
fInfo = sp.ImageFileInfo()
r = sp.getFileInfo("lena.png", fInfo)
fInfo.printSelf()

The documentation for this struct was generated from the following files: