GhostPDL.NET 1.0.3

dotnet add package GhostPDL.NET --version 1.0.3                
NuGet\Install-Package GhostPDL.NET -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GhostPDL.NET" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GhostPDL.NET --version 1.0.3                
#r "nuget: GhostPDL.NET, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GhostPDL.NET as a Cake Addin
#addin nuget:?package=GhostPDL.NET&version=1.0.3

// Install GhostPDL.NET as a Cake Tool
#tool nuget:?package=GhostPDL.NET&version=1.0.3                

GhostPDL.NET

NuGet Nuget

Convert and create PDFs using GhostPDL with C# and .NET

Give a Star!

If you liked the project or if GhostPDL.NET helped you, please give a star 😉

Get Started

GhostPDL.NET can be installed using the Nuget package manager or the dotnet CLI.

dotnet add package GhostPDL.NET

Examples

Convert PDF/X to PDF/A

var pdfContentByte = await File.ReadAllBytesAsync("sample1.pdf");

var ghostProcessor = new GhostPdlProcessorPdfA();
byte[] rawPdfA = await ghostProcessor.ConvertAsync(pdfContentByte, PdfAProfile.A2B);

To validate PDF/A result use the Codeuctivity.PdfAValidator

Run commands Ghostscript

Documentation Ghostscript:

var switches = new List<string>
{
    "-command1",
    "-command2",
    "-command3"
};

var ghostProcessor = new GhostPdlProcessor();
ghostProcessor.InvokeCommand(switches);

Documentation

  • Coming soon.

Support

  • win-x64
  • linux-x64
  • linux-arm64
  • osx-x64

About

GhostPDL.NET was developed by Claudiney Queiroz.

License

Copyright © 2023 Claudiney Queiroz.

The project is licensed under the GNU AGPLv3.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 364 4/13/2023
1.0.2 296 2/16/2023
1.0.0 306 2/15/2023 1.0.0 is deprecated because it has critical bugs.