namespace Psychlops {
-namespace IMAGE_FORMATS {
+namespace IMAGE_FORMATS {\r
+ enum FILE_EXT { UNKNOWN, PNG, JPG, JP2, TIFF, CVMAT_TXT, MATLAB_MAT };\r
+ static FILE_EXT getImageFileFormatFromExt(const std::string &s);\r
+
class IMAGE_FORMAT {
protected:
float * target_bitmap_f_;
*(++bitmapf) = b/255.0;
if(pixcomp_==Image::RGB) return; else *(++bitmapf) = a;
}
- }
+ }\r
+\r
+ public:\r
+ double _zoom_percentage_;\r
+ Image& _zoom_(const double percentage);
protected:
int width_, height_;