code: public static Observable<Bitmap> getThumbnail(Context context, Uri uri, int requiredWidth,
        int requiredHeight) {
      return getThumbnailFromUriWithSize(context, uri, requiredWidth, requiredHeight);
    }
docs: /*
  Get a thumbnail from the provided Image or Video Uri in the specified size.