From the course: Leveraging GenAI in .NET MAUI Development

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Creating icons with DALL-E

Creating icons with DALL-E

- [Instructor] We've used DALL·E to create images for our application. It shouldn't be any surprise that we can use it to create icons as well. So we're going to try that. And we've got our calendar app and we want to make a calendar icon, let's just say 128 x 128 pixels. And we're going to make it an SVG to match the current icon file format. So let's try something out, go onto to the bottom here and go create an icon that is a picture of a calendar. The icon should be sized at 128 pixels x 128 pixels. And is of type SVG. Let's see what it gives us. Okay, gave us something. We're going to download that and see what it looks like. We'll copy the code like this. We'll go to Visual Studio, we'll go to App Icon and we'll right click and we'll go add and we'll go a new item and we'll call it newicon.svg. And we'll hit add just like that and we'll paste in our icon code. Okay, and I just want to look at this one right here. So this one's build actions of Maui icon. It also has an XML…

Contents