title: Android: How can i convert a Bitmap array to Int array?
body: <p>I'm cutting some images of int array...</p>
  
  <pre><code>int[] imagenes_originales = new int[] {
      R.drawable.image1,
      R.drawable.image2,
      R.drawable.image3,
      R.drawable.image4
  }
  
  int[] new_images;
  
  for (a = 0; a &lt;= 3; a++) {
      Bitmap bitmap = BitmapFactory.decodeResource(getResources(), imagenes_originales[a]);
  
      int x = bitmap.getWidth(), y = bitmap.getHeight();
      int escalax = getWindowManager().getDefaultDisplay().getWidth();
  
      Bitmap recorte = Bitmap.createBitmap(bitmap, 0, y / 2, escalax, 100);
  }
  </code></pre>
  
  <p>How can I convert the Bitmap images in my <code>new_images[]</code> variable?</p>