00001 //FILE: image_loader.h 00002 //AUTHOR: Nathan Courina <nathan@cournia.com> 00003 00004 #ifndef COURNIA_IMAGE_LOADER_H 00005 #define COURNIA_IMAGE_LOADER_H 1 00006 00007 #include <iostream> 00008 #include <string> 00009 #include "image.h" 00010 00011 namespace image 00012 { 00014 00023 image_t* load( const std::string& filename ); 00024 00026 00029 image_t* load( std::istream& stream ); 00030 } 00031 00032 #endif