Vista     Main Page   Class List   Function List   File List   Examples  


Motion2DImage_PNG.h

Go to the documentation of this file.
00001 /*
 00002 
 00003   Copyright (c) 1995-2005 by INRIA.
 00004   All Rights Reserved.
 00005 
 00006   This software was developed at:
 00007   IRISA/INRIA Rennes
 00008   Campus Universitaire de Beaulieu
 00009   35042 Rennes Cedex
 00010 
 00011   http://www.irisa.fr
 00012 
 00013 */
 00014 
 00015 #ifndef Motion2DImage_PNG_h
 00016 #define Motion2DImage_PNG_h
 00017 
 00018 #ifndef __NO_IMAGEIO_PNG_
 00019 
 00020 #include <CMotion2DImage.h>
 00021 
 00022 using namespace std;
 00023 
 00024 #if defined (WIN32)
 00025 #  if defined MOTION2D_DLL_EXPORTS
 00026 #     define MOTION2D_API __declspec( dllexport )
 00027 #  elif defined MOTION2D_DLL_IMPORTS
 00028 #     define MOTION2D_API __declspec( dllimport )
 00029 #  else
 00030 #     define MOTION2D_API
 00031 #  endif
 00032 #else
 00033 #     define MOTION2D_API
 00034 #endif
 00035 
 00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00059 MOTION2D_API
 00060 #endif
 00061 int ReadPNG(CMotion2DImage<unsigned char> &I, const char *filename);
 00079 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00080 MOTION2D_API
 00081 #endif
 00082 int ReadPNG(CMotion2DImage<short> &I, const char *filename);
 00095 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00096 MOTION2D_API
 00097 #endif
 00098 int WritePNG(CMotion2DImage<unsigned char> &I, const char *filename);
 00099 
 00112 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00113 MOTION2D_API
 00114 #endif
 00115 int WritePNG(CMotion2DImage<short> &I, const char *filename);
 00116 #endif
 00117 
 00118 #endif
 

Motion2D is Copyright © 1995-2005 by Inria
This documentation was generated on 31 Jan 2005 by Fabien Spindler for Motion2D 1.3.11 using doxygen1.2.18 written by Dimitri van Heesch, © 1997-2005