Optional NuGet package that ships Ghostscript native libraries for use with Ghostscript.NET.
This package tracks Ghostscript 10.07.1. NuGet represents the package version as 10.7.1 because numeric version components cannot contain leading zeroes.
| RID | Included files | Status |
|---|---|---|
linux-x64 |
libgs.so |
Included |
win-x64 |
gsdll64.dll |
Included |
win-x86 |
gsdll32.dll |
Included |
The ghostscript.version metadata file next to each native library allows GhostscriptVersionInfo to report the bundled Ghostscript product version.
<PackageReference Include="Ghostscript.NET" Version="1.3.4" />
<PackageReference Include="Ghostscript.NativeAssets" Version="10.7.1" />Package versions are managed in the repository
Versions.propsfile. Ghostscript.NET resolves libraries in this order:
- Explicit path /
GhostscriptVersionInfosupplied by the caller - Bundled NativeAssets (app-local)
- System Ghostscript installation
var version = GhostscriptVersionInfo.GetPreferredVersion();
// or
if (GhostscriptVersionInfo.TryGetBundledVersion(out var bundled))
{
// use bundled
}This package distributes Ghostscript native binaries. Use is subject to the GNU AGPL v3 or a commercial license from Artifex.