allow images to be resized on load if larger than a particular size
only define if not defined macro
defaults to not use OPENCV