GeoConvert.Skia
1.1.1
dotnet add package GeoConvert.Skia --version 1.1.1
NuGet\Install-Package GeoConvert.Skia -Version 1.1.1
<PackageReference Include="GeoConvert.Skia" Version="1.1.1" />
<PackageVersion Include="GeoConvert.Skia" Version="1.1.1" />
<PackageReference Include="GeoConvert.Skia" />
paket add GeoConvert.Skia --version 1.1.1
#r "nuget: GeoConvert.Skia, 1.1.1"
#:package GeoConvert.Skia@1.1.1
#addin nuget:?package=GeoConvert.Skia&version=1.1.1
#tool nuget:?package=GeoConvert.Skia&version=1.1.1
GeoConvert.Skia
A SkiaSharp-backed PNG render backend for GeoConvert.
GeoConvert ships its own dependency-free software rasterizer. This optional package renders the same scene — identical projection, per-layer styling, stroke auto-scaling and label placement — through Skia instead, trading the no-dependency guarantee for Skia's antialiased fills and native text.
using GeoConvert;
using GeoConvert.Skia;
var collection = GeoConverter.Read("world.geojson");
SkiaRenderer.RenderPng(collection, "world.png", new()
{
Width = 2048,
Label = feature => feature.Properties.TryGetValue("name", out var value) ? value as string : null,
});
The API mirrors MapRenderer.RenderPng (single collection or a stacked list, to byte[], a path, or
a Stream) and honours the same RenderOptions. Labels are drawn with Skia's default typeface.
See the GitHub repo for full documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- GeoConvert (>= 1.1.1)
- SkiaSharp (>= 3.119.4)
- System.IO.Hashing (>= 10.0.8)
-
net11.0
- GeoConvert (>= 1.1.1)
- SkiaSharp (>= 3.119.4)
- System.IO.Hashing (>= 10.0.8)
-
net8.0
- GeoConvert (>= 1.1.1)
- SkiaSharp (>= 3.119.4)
- System.IO.Hashing (>= 10.0.8)
-
net9.0
- GeoConvert (>= 1.1.1)
- SkiaSharp (>= 3.119.4)
- System.IO.Hashing (>= 10.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.