.NET MAUI › Fonts, Icons & Media

How do you handle different image resolutions across devices?

Intermediate

Answer

Provide a single high-resolution source (SVG preferred) declared as MauiImage; MAUI generates density-appropriate rasters at build time. For platform-specific art, you can still supply per-density files, but SVG plus MauiImage resizing covers most cases and keeps the project lean.
<MauiImage Include="Resources\Images\logo.svg" BaseSize="120,120" />
Real-world example One logo.svg yields crisp images on low-density phones and high-density tablets without shipping multiple bitmaps.

Common follow-ups: Why prefer SVG? | What does BaseSize control?