Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

GraphicsTester: Console Application #216

Merged
merged 3 commits into from
Oct 26, 2021
Merged

Conversation

swharden
Copy link
Contributor

@swharden swharden commented Oct 24, 2021

This PR adds a sample console application that generates all the test images and saves them as PNG files. It targets net5.0 and only depends on Microsoft.Maui.Graphics.Skia and SkiaSharp so it should run anywhere those packages are supported.

I hope this will make it easier for new users to learn how to generate image files with this library (without requiring a UI framework). I also find when developing/testing it is more convenient to inspect a folder of images than it is to click through a bunch of screens in a GUI app.

Example output: drawellipses.png

drawellipses

@jonlipsky jonlipsky merged commit 20edf3e into dotnet:main Oct 26, 2021
@swharden swharden deleted the sample-console branch October 26, 2021 19:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants