title: Why is imread() always returning null data?
body: <p>Here is my code:</p>
  
  <pre><code>    #include&lt;opencv\cv.h&gt;
      #include&lt;opencv\highgui.h&gt;
      using namespace cv;
      using namespace std;
  
      int main()
           {
            Mat src;
            //src.create(200,500,CV_8UC3);
            src = imread( "a.bmp", 1 );
            namedWindow( "Display window", WINDOW_AUTOSIZE );
            if(!src.data)                              
                   cout&lt;&lt;"Could not open or find the image" &lt;&lt; std::endl ;
            else
                  imshow( "Display window", src);
            waitKey(0);
            return 0;
           }
  </code></pre>
  
  <p>It is always executing the <code>if</code> part<br>
  when I am using <code>src.create</code> instead of <code>imread()</code> it shows an empty image.</p>