X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=psychlops%2Fcore%2Fgraphic%2Fpsychlops_g_image.h;fp=psychlops%2Fcore%2Fgraphic%2Fpsychlops_g_image.h;h=eca5402ee0332861ac7ad889cb2e4e982f472677;hb=e1d4d7d10f87906b7b728a40e842938008be764e;hp=6289e845c7ac2c730a3590a962a46f103edb4ec4;hpb=ec6f0b25cc47aa8f9880fbeb4e1ec10a0a7e87f5;p=psychlops%2Fcpp.git diff --git a/psychlops/core/graphic/psychlops_g_image.h b/psychlops/core/graphic/psychlops_g_image.h index 6289e84..eca5402 100644 --- a/psychlops/core/graphic/psychlops_g_image.h +++ b/psychlops/core/graphic/psychlops_g_image.h @@ -24,7 +24,10 @@ namespace cv{ class Mat; } namespace Psychlops { -namespace IMAGE_FORMATS { +namespace IMAGE_FORMATS { + enum FILE_EXT { UNKNOWN, PNG, JPG, JP2, TIFF, CVMAT_TXT, MATLAB_MAT }; + static FILE_EXT getImageFileFormatFromExt(const std::string &s); + class IMAGE_FORMAT { protected: float * target_bitmap_f_;