docs: @Override
    public CloseableReference<Bitmap> process(
        Bitmap sourceBitmap,
        PlatformBitmapFactory bitmapFactory) {
      final Bitmap.Config sourceBitmapConfig = sourceBitmap.getConfig();
      CloseableReference<Bitmap> destBitmapRef =
          bitmapFactory.createBitmapInternal(
              sourceBitmap.getWidth(),
              sourceBitmap.getHeight(),
              sourceBitmapConfig != null ? sourceBitmapConfig : FALLBACK_BITMAP_CONFIGURATION);
      try {
        process(destBitmapRef.get(), sourceBitmap);
        return CloseableReference.cloneOrNull(destBitmapRef);
      } finally {
        CloseableReference.closeSafely(destBitmapRef);
      }
    }