code: public static Bitmap resize(@NonNull final Bitmap bitmap, final int width, final int height) {
          Condition.INSTANCE.ensureNotNull(bitmap, "The bitmap may not be null");
          Condition.INSTANCE.ensureAtLeast(width, 1, "The width must be at least 1");
          Condition.INSTANCE.ensureAtLeast(height, 1, "The height must be at least 1");
          return Bitmap.createScaledBitmap(bitmap, width, height, false);
      }
docs: Resizes a bitmap to a specific width and height. If the ratio between width and height
  differs from the bitmap's original ratio, the bitmap is stretched.
  
  @param bitmap
  The bitmap, which should be resized, as an instance of the class {@link Bitmap}. The
  bitmap may not be null
  @param width
  The width, the bitmap should be resized to, as an {@link Integer} value in pixels.
  The width must be at least 1
  @param height
  The height, the bitmap should be resized to, as an {@link Integer} value in pixels.
  The height must be at least 1
  @return The resized bitmap as an instance of the class {@link Bitmap}