#include <ImageIO.h>
Inheritance diagram for ImageIO:
Public Member Functions | |
ImageIO () | |
ImageIO (HTreeObject *htreeobject) | |
int | Write (HBitmapNode *bn, HOutputInfo *outputinfoconst, const String &filename, short *wavedata, BOOL hasaudio) |
void | CloseWrite (BOOL hasaudio) |
virtual BOOL | CanLoadImage (const String &filename) |
virtual void | GetFilesStartEndFrame (const String &filename, int &start, int &end) |
virtual BOOL | SetSaveOptions (CWnd *parent, const String &extension, float fps) |
virtual BOOL | GetImageIOInfo (ImageIOInfo &iioinfo) |
virtual int | OpenWriteFrame (String filename, HBitmapNode *bn, HOutputInfo *outputinfo, BOOL hasaudio) |
virtual int | WriteFrame (HBitmapNode *bn, HOutputInfo *outputinfo, const String &filename, short *wavedata, BOOL hasaudio) |
virtual void | CloseWriteFrame (BOOL hasaudio) |
virtual int | LoadFrame (HBitmapNode *bn, const String &filename, int frame=-1, UINT flags=0) |
virtual int | IsFileOpen () |
Public Attributes | |
BOOL | m_isopened |
Definition at line 60 of file ImageIO.h.
|
Default ImageIO constructor. Definition at line 63 of file ImageIO.h. References FALSE, and m_isopened. |
|
Definition at line 64 of file ImageIO.h. References FALSE, and m_isopened. |
|
This function is called to check if a file with a given filename can be read by the plugin. The function should not just check the filename extension but should also attempt to open the file and read whatever data (that is usually the file header) to make sure it is in the proper format. Return TRUE if the file can be read by the plugin. Definition at line 73 of file ImageIO.h. References FALSE. |
|
For file format that can store multiple frames in the same file, this function is called when the total number of files have been saved. Definition at line 121 of file ImageIO.h. References CloseWriteFrame(), FALSE, and m_isopened. Here is the call graph for this function: ![]() |
|
This function is called to close a file after the total number of frames have been saved. Definition at line 79 of file ImageIO.h. Referenced by CloseWrite(). |
|
|
|
This function is called when the ImageIO are registered with Animation:Master. The function should fill the ImageIOInfo with the appropriate information.
Definition at line 76 of file ImageIO.h. References FALSE. |
|
Should return TRUE if the file is currently open. Definition at line 81 of file ImageIO.h. References FALSE. |
|
This function is called to read a frame from a file.
Definition at line 80 of file ImageIO.h. References HBitmapNode::LOAD_FAILED. |
|
This function should open the file. This would also be the appropriate place to write the file header in the case of file format that allow saving multiple frames in the same file. Definition at line 77 of file ImageIO.h. Referenced by Write(). |
|
This function is called when the user wants to change some save settings. Traditional save settings would be compression, bit-depth, etc. Definition at line 75 of file ImageIO.h. References FALSE. |
|
This function is called when a Frame or an image is ready to be saved to file. The file is opened first if it is not already open.
Definition at line 90 of file ImageIO.h. References DLLPlugin::GetClassName(), m_isopened, OpenWriteFrame(), TRUE, HBitmapNode::WRITE_ERROR, and WriteFrame(). Here is the call graph for this function: ![]() |
|
This function is called to save a frame to the file. The file is expected to be already opened when this function is called. Definition at line 78 of file ImageIO.h. References HBitmapNode::WRITE_NORESULT. Referenced by Write(). |
|
TRUE if file is currently open. Definition at line 62 of file ImageIO.h. Referenced by CloseWrite(), ImageIO(), and Write(). |
Generated on Thu Oct 27 11:46:59 2005 with
1.4.5 written by Dimitri van Heesch,
© 1997-2001