33 #include <itpp/itexports.h> 
   60 ITPP_EXPORT 
char pnm_type(
const std::string & filename);
 
   72 ITPP_EXPORT 
bool pnm_info(
const std::string & filename,
 
   77               std::string & comments);
 
   90 ITPP_EXPORT 
bool pgm_read(
const std::string & filename, imat & m,
 
   91               std::string & comments);
 
  104 ITPP_EXPORT 
bool pgm_read(
const std::string & filename, imat &m,
 
  105               int r1, 
int r2, 
int c1, 
int c2);
 
  115 ITPP_EXPORT imat 
pgm_read(
const std::string & filename);
 
  127 ITPP_EXPORT 
bool pgm_write(
const std::string & filename,
 
  129                const std::string & comments = 
"Generated by IT++ (http://itpp.sourceforge.net)");
 
  146 ITPP_EXPORT 
bool ppm_read(
const std::string & filename,
 
  147               imat &r, imat &g, imat &b,
 
  148               std::string & comments);
 
  159 ITPP_EXPORT 
bool ppm_read(
const std::string & filename,
 
  160               imat &r, imat &g, imat &b);
 
  170 ITPP_EXPORT 
bool ppm_read(
const std::string & filename,
 
  171               imat &r, imat &g, imat &b,
 
  172               int r1, 
int r2, 
int c1, 
int c2);
 
  185 ITPP_EXPORT 
bool ppm_write(
const std::string & filename,
 
  189                const std::string & comments = 
"Generated by IT++ (http://itpp.sourceforge.net)",
 
  209                     double double_min = 0 ,
 
  210                     double double_max = 1);
 
  226                    double double_min = 0,
 
  227                    double double_max = 1);
 
  231 #endif // #ifndef PNM_H