Skip to content

Conversation

@brunosonnino
Copy link
Contributor

No description provided.

@brunosonnino brunosonnino requested a review from Copilot November 8, 2025 13:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new Foreground Extractor feature to the AI Dev Gallery, which extracts foreground objects from images using the Windows AI ImageForegroundExtractor API. It also updates the Microsoft.WindowsAppSDK package version and fixes a minor formatting issue in scenarios.json.

  • Adds new ForegroundExtractor sample with UI and code-behind implementation
  • Integrates ForegroundExtractor into API definitions, helpers, and code snippets
  • Updates WindowsAppSDK package to version 2.0.0-experimental2

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
Directory.Packages.props Updates Microsoft.WindowsAppSDK version to 2.0.0-experimental2
AIDevGallery/Samples/scenarios.json Fixes indentation and adds ForegroundExtractor scenario definition
AIDevGallery/Samples/WCRAPIs/ForegroundExtractor.xaml.cs Implements new ForegroundExtractor sample with image loading, processing, and save/copy functionality
AIDevGallery/Samples/WCRAPIs/ForegroundExtractor.xaml Defines UI layout for the ForegroundExtractor sample
AIDevGallery/Samples/Definitions/WcrApis/apis.json Adds ForegroundExtractor API definition
AIDevGallery/Samples/Definitions/WcrApis/WcrApiHelpers.cs Registers ForegroundExtractor in compatibility checkers and ensure ready functions
AIDevGallery/Samples/Definitions/WcrApis/WcrApiCodeSnippet.cs Adds code snippet example for ForegroundExtractor usage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants