text: /*
  	adding PKM loading support to stbi
  */
  
  #ifndef HEADER_STB_IMAGE_PKM_AUGMENTATION
  #define HEADER_STB_IMAGE_PKM_AUGMENTATION
  
  /*	is it a PKM file? */
  extern int      stbi_pkm_test_memory      (stbi_uc const *buffer, int len);
  extern int      stbi_pkm_test_callbacks   (stbi_io_callbacks const *clbk, void *user);
  
  extern stbi_uc *stbi_pkm_load_from_path   (char const *filename,           int *x, int *y, int *comp, int req_comp);
  extern stbi_uc *stbi_pkm_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
  extern stbi_uc *stbi_pkm_load_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp);
  
  #ifndef STBI_NO_STDIO
  extern int      stbi_pkm_test_filename    (char const *filename);
  extern int      stbi_pkm_test_file        (FILE *f);
  extern stbi_uc *stbi_pkm_load_from_file   (FILE *f,                  int *x, int *y, int *comp, int req_comp);
  #endif
  
  extern int      stbi_pkm_info_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp);
  extern int      stbi_pkm_info_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp);
  
  
  #ifndef STBI_NO_STDIO
  extern int      stbi_pkm_info_from_path   (char const *filename,     int *x, int *y, int *comp);
  extern int      stbi_pkm_info_from_file   (FILE *f,                  int *x, int *y, int *comp);
  #endif
  
  /*
  //
  ////   end header file   /////////////////////////////////////////////////////*/
  #endif /* HEADER_STB_IMAGE_PKM_AUGMENTATION */
  