IM: imFormat Class Reference

IM - An Imaging Tool

imFormat Class Reference
[File Format SDK]

Inherits _imFile.


Detailed Description

Virtual Base class for file formats. All file formats inherit from this class.


Public Member Functions

 imFormat (const char *_format, const char *_desc, const char *_ext, const char **_comp, int _comp_count, int _can_sequence)
imAttribTableAttribTable ()
virtual int Open (const char *file_name)=0
virtual int New (const char *file_name)=0
virtual void Close ()=0
virtual void * Handle (int index)=0
virtual int ReadImageInfo (int index)=0
virtual int ReadImageData (void *data)=0
virtual int WriteImageInfo ()=0
virtual int WriteImageData (void *data)=0
virtual int CanWrite (const char *compression, int color_mode, int data_type) const =0

Data Fields

const char * format
const char * desc
const char * ext
const char ** comp
int comp_count
int can_sequence

The documentation for this class was generated from the following file: