Folks,
I am using imread to load a jpeg image into a cv::Mat data type. However, the function is unable to load the image and simply returns an empty matrix with 0 rows and 0 columns. It does not throw any exceptions or warnings. I have also verified that the image actually exists in the path specified. I have never seen this behaviour in OpenCV and am at a loss to figure out what is going on. Any help is appreciated
EDIT: After playing around, I discovered that it is able to read in PNG file formats with no problems.