GeoConvert.ImageSharp
1.0.0
See the version list below for details.
dotnet add package GeoConvert.ImageSharp --version 1.0.0
NuGet\Install-Package GeoConvert.ImageSharp -Version 1.0.0
<PackageReference Include="GeoConvert.ImageSharp" Version="1.0.0" />
<PackageVersion Include="GeoConvert.ImageSharp" Version="1.0.0" />
<PackageReference Include="GeoConvert.ImageSharp" />
paket add GeoConvert.ImageSharp --version 1.0.0
#r "nuget: GeoConvert.ImageSharp, 1.0.0"
#:package GeoConvert.ImageSharp@1.0.0
#addin nuget:?package=GeoConvert.ImageSharp&version=1.0.0
#tool nuget:?package=GeoConvert.ImageSharp&version=1.0.0
GeoConvert.ImageSharp
A SixLabors.ImageSharp-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 ImageSharp instead, trading the no-dependency guarantee for ImageSharp's antialiased fills and native text.
using GeoConvert;
using GeoConvert.ImageSharp;
var collection = GeoConverter.Read("world.geojson");
ImageSharpRenderer.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 an installed system sans-serif
font.
Licensing: ImageSharp is distributed under the Six Labors Split License — free for open-source and personal use, but commercial use may require a paid license. See sixlabors.com. GeoConvert and GeoConvert.Skia carry no such terms.
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.0.0)
- SixLabors.ImageSharp (>= 4.0.0)
- SixLabors.ImageSharp.Drawing (>= 3.0.0)
- System.IO.Hashing (>= 10.0.8)
-
net11.0
- GeoConvert (>= 1.0.0)
- SixLabors.ImageSharp (>= 4.0.0)
- SixLabors.ImageSharp.Drawing (>= 3.0.0)
- System.IO.Hashing (>= 10.0.8)
-
net8.0
- GeoConvert (>= 1.0.0)
- SixLabors.ImageSharp (>= 4.0.0)
- SixLabors.ImageSharp.Drawing (>= 3.0.0)
- System.IO.Hashing (>= 10.0.8)
-
net9.0
- GeoConvert (>= 1.0.0)
- SixLabors.ImageSharp (>= 4.0.0)
- SixLabors.ImageSharp.Drawing (>= 3.0.0)
- 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.