title: Magick++ - Unable to open image
body: <p>I am trying to read an in image using a simple example from Magick++:</p>
  
  <pre><code>Magick::Image image;
  try {
      // Read a file into image object 
      image.read("C:\\Pictures\\lena.jpg");
  
      // Crop the image to specified size (width, height, xOffset, yOffset)
      image.crop(Magick::Geometry(100, 100, 100, 100));
  
      // Write the image to a file 
      image.write("C:\\Pictures\\lenaCropped.jpg");
  }
  catch (Magick::Exception &amp;error_)
  {
      std::cout &lt;&lt; "Caught exception: " &lt;&lt; error_.what() &lt;&lt; std::endl;
      std::cin.get();
      return 1;
  }
  </code></pre>
  
  <p>This fails and throws an exception:</p>
  
  <blockquote>
    <p>Unable to open image: No such file or directory @ error/blob.c/OpenBlob/3109</p>
  </blockquote>
  
  <p>And if I change <code>C:\\Pictures\\lena.jpg</code> to <code>C:/Pictures/lena.jpg</code> it throws another exception:</p>
  
  <blockquote>
    <p>Unable to open image: Invalid argument @ error/blob.c/OpenBlob/3109</p>
  </blockquote>
  
  <p>Of course the image path is correct.</p>