PdfNetStack.Tool
1.0.0
dotnet tool install --global PdfNetStack.Tool --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local PdfNetStack.Tool --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=PdfNetStack.Tool&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package PdfNetStack.Tool --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PdfNetStack.Tool
pdfnetstack: a cross-platform command line tool to compress, optimize, merge, split, rotate,
encrypt and decrypt PDF files. Lossless by default, every output verified against its source.
Built on the PdfNetStack library by Jamal
Abdelkhalek at JADEV. MIT licensed, no Ghostscript.
dotnet tool install -g PdfNetStack.Tool
Usage
pdfnetstack optimize in.pdf out.pdf # lossless compression
pdfnetstack optimize in.pdf out.pdf --jpeg-quality 60 # smaller, lossy on JPEG images only
pdfnetstack batch ./incoming ./optimized --report report.csv
pdfnetstack batch ./corpus # measure only, writes nothing
pdfnetstack inspect in.pdf # where the bytes go
pdfnetstack verify original.pdf other.pdf # check any tool's output
pdfnetstack merge out.pdf a.pdf b.pdf c.pdf
pdfnetstack split in.pdf ./pages
pdfnetstack extract in.pdf out.pdf 1-3,7,9-
pdfnetstack rotate in.pdf out.pdf 90 2-4
pdfnetstack meta in.pdf out.pdf --title "Annual report" --author "Finance"
pdfnetstack encrypt in.pdf out.pdf --user-password u --owner-password o --allow print,copy
pdfnetstack decrypt in.pdf out.pdf --password o
Run pdfnetstack --help for every option. Requires the .NET 8 or later runtime.
Links
| 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 67 | 10/28/2026 |