Forum Discussion
tmhr4
Mar 29, 2022Copper Contributor
How to draw text to image and save it? MAUI
I am trying to make a mobile application that adds text to an image then saves it to the device. I see that drawing the text and image can be done using Maui.Graphics . But, I am not sure about the following steps.
- JamesMontemagnoMicrosoft
I would say there are three options based on your needs:
- DrawingView: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/drawingview
- SkiaSharp: https://github.com/mono/SkiaSharp
- MAUI Graphics - https://learn.microsoft.com/en-us/dotnet/maui/user-interface/graphics/]
In each you would be rendering the text with the graphics view on the image and then saving it off.
- AlbernazfCopper Contributor
JamesMontemagno I've ended up using Skiasharp, thx
- AlbernazfCopper Contributor