Class ServerIconService
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
Generates a server's server-icon.png (64x64 PNG) from any image, cropping it to a centered square and scaling. This is the icon players see in the server list. Uses SkiaSharp so it works on Windows and Linux.
public class ServerIconService
- Inheritance
-
ServerIconService
- Inherited Members
Methods
SetIconFromImage(string, string)
public void SetIconFromImage(string serverFolder, string sourceImagePath)