diff --git a/stim/image/image.h b/stim/image/image.h index 31e7edb..9eb07ed 100644 --- a/stim/image/image.h +++ b/stim/image/image.h @@ -134,7 +134,7 @@ public: memcpy(img, I.img, bytes()); return *this; } - +#ifdef USING_OPENCV void load_bmp(std::string filename) { stim::bmp bitmap; bitmap.open(filename); //load the bitmap and read the headers @@ -145,6 +145,7 @@ public: } bitmap.close(); //close the bitmap file } +#endif //save a Netpbm file void load_netpbm(std::string filename) { -- libgit2 0.21.4