title: Error :java.lang.UnsupportedOperationException: No image data is available when using App Engine's BlobStore and Image API
body: <p>I need to retrieve the height and width of uploaded image using App Engine BlobStore. For finding that i used following code :</p>
  
  <pre><code>try {
              Image im = ImagesServiceFactory.makeImageFromBlob(blobKey);
  
              if (im.getHeight() == ht &amp;&amp; im.getWidth() == wd) {
                  flag = true;
              }
          } catch (UnsupportedOperationException e) {
  
          }
  </code></pre>
  
  <p>i can upload the image and generate the BlobKey but when pass the Blobkey to makeImageFromBlob(), it generate the following error: <br/></p>
  
  <blockquote>
    <p><strong>java.lang.UnsupportedOperationException: No image data is available</strong></p>
  </blockquote>
  
  <p>How to solve this problem or any other way to find image height and width directly from BlobKey.</p>