Commit 1cb3eb535a89dc6c70cd76e6bfcb15688175dec4
1 parent
35bdff22
modified image.h to provide jpeg support if available
Showing
2 changed files
with
3 additions
and
12 deletions
Show diff stats
stim/image/image.h
1 | #ifndef STIM_IMAGE_H | 1 | #ifndef STIM_IMAGE_H |
2 | #define STIM_IMAGE_H | 2 | #define STIM_IMAGE_H |
3 | -#define cimg_use_jpeg //necessary for JPG files | 3 | +#ifdef JPEG_FOUND |
4 | + #define cimg_use_jpeg //necessary for JPG files | ||
5 | +#endif | ||
4 | #include "CImg.h" | 6 | #include "CImg.h" |
5 | 7 | ||
6 | #include <iostream> | 8 | #include <iostream> |
stim/matlab/rtsEnviLoadClasses.m~ deleted