title: Getting Bitmap from Image using Glide in android
body: <p>I want to get the bitmap from an image using Glide. I am doing the following - </p>
  
  <pre><code>Bitmap chefBitmap = Glide.with(MyActivity.this)
  .load(chef_image)
  .asBitmap()
  .into(100, 100)
  .get();
  </code></pre>
  
  <p>It used to work with the previous Glide version.
  But it does not work with this in gradle - <code>"compile 'com.github.bumptech.glide:glide:4.0.0'"</code></p>
  
  <p>I want to use this dependency because this is the latest version.</p>
  
  <p>Can anyone help me in this regard. Thanks in advance.</p>