#ifndef _UTILTITIES_H_
#define _UTILTITIES_H_ 1

#include "FreeImage.h"

int errmsg(const char* msg, int val);
FREE_IMAGE_FORMAT image_Format_for_Name(const char* fname);
FREE_IMAGE_FORMAT image_Format_for_Data(const char* fname);
char* changeExtName(const char* fname, const char* ext);

#endif // _UTILITIES_H_