title: Bitmap to large
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10271020/bitmap-too-large-to-be-uploaded-into-a-texture">“Bitmap too large to be uploaded into a texture”</a>  </p>
  </blockquote>
  
  
  
  <p>I am taking a picture using the camera, then I am saving the picture on the sdcard, then using</p>
  
  <p><code>Bitmap bm = BitmapFactory.decodeFile(path);</code></p>
  
  <p>To get the bitmap, then</p>
  
  <p><code>imageView.setImageBitmap(bm);</code> to set it. </p>
  
  <p>But when I put it into my view using</p>
  
  <p><code>mFrameLayout.addView(imageView);</code> no image is displayed and I get back <code>Bitmap to large to be uploaded into texture</code>  </p>
  
  <p>The bitmap is <code>1944 high, 2592 wide</code></p>
  
  <p>Any thoughts?</p>
  
  <p>I am using a tablet, 10.1 inches, acer iconia, a500, running ics. </p>