title: Glide transformation not working
body: <p>I want to crop a bitmap  from the top using a glide transformation, I have the following code:</p>
  
  <pre><code>public class TopCropTransformation extends BitmapTransformation {
  
      public TopCropTransformation(Context context) {
          super(context);
      }
  
      public TopCropTransformation(BitmapPool bitmapPool) {
          super(bitmapPool);
      }
  
      @Override
      protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {
          return Bitmap.createBitmap(toTransform, 0,0, outWidth, outHeight);
      }
  
      @Override
      public String getId() {
          return "TopCropTransformation";
      }
  }
  </code></pre>
  
  <p>And I use transformation like this:</p>
  
  <pre><code>Glide.with(context)
  .load(user.getImageUrl())
  .error(R.drawable.missingprofile)
  .transform(new TopCropTransformation(context))
  .into(holder.image);
  </code></pre>
  
  <p>And glide displays the error image. Can anyone help me?</p>
  
  <p>EDIT: I've just found this exception "x + width must be &lt;= bitmap.width()"</p>