Blazor Color Palette Generator is a sample .NET Blazor webassembly application that allows users to extract color palettes from selected image (JPEG/PNG). The color palette extraction code is written in C++. The C++ is added as native dependency to blazor webassembly and uses stb_image.h library to load image from byte[] passed from application.
This application was created as an exprimentation to demonstate adding ASP.NET Core Blazor WebAssembly native dependencies introduced in .NET7 to blazor wasm.
See the working Demo of this application hosted on github pages.