retreev / PangLib

Series of tools to interact with Pangya PC MMO game files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch away from System.Drawing.Common

pixeldesu opened this issue · comments

System.Drawing.Common is dependent on GDI+, which either requires you to run Windows on the host machine the library is built/executed on, or instances of libgdiplus.

Instead of using this system namespace, we can switch to an alternative like SkiaSharp which has cross-platform bindings.

The refactor itself should be relatively easy, the used methods are almost the same, except for being prefixed with SK.

SkiaSharp Documentation:
https://docs.microsoft.com/en-us/dotnet/api/skiasharp?view=skiasharp-1.68.0

To Do:

  • Switch from System.Drawing.Bitmap to SkiaSharp.SKBitmap