GitHunt
KA

kant2002/NativeAOTImages

Example how to work with images in NativeAOT context

Working with images and NativeAOT

This is simple example how anyone can work with images in NativeAOT.

This application uses https://github.com/kant2002/winformscominterop to provide COM interop to this NativeAOT application.

Supplementary code for article: https://codevision.medium.com/how-do-you-use-system-drawing-in-nativeaot-bde0389daacb

What's changed

As of Preview 7 there no need to have custom ComWrappers for System.Drawings.Common so having just

<PackageReference Include="System.Drawing.Common" Version="6.0.0-preview.7.*" />

reduce need for external libraries.

Languages

C#100.0%

Contributors

Created June 3, 2021
Updated October 28, 2022
kant2002/NativeAOTImages | GitHunt