docs: @Nullable static BitmapFactory.Options createBitmapOptions(Request data) {
      final boolean justBounds = data.hasSize();
      BitmapFactory.Options options = null;
      if (justBounds || data.config != null || data.purgeable) {
        options = new BitmapFactory.Options();
        options.inJustDecodeBounds = justBounds;
        options.inInputShareable = data.purgeable;
        options.inPurgeable = data.purgeable;
        if (data.config != null) {
          options.inPreferredConfig = data.config;
        }
      }
      return options;
    }