PdfCompressorLibrary.PieroViano
1.0.0-at20230414030629
dotnet add package PdfCompressorLibrary.PieroViano --version 1.0.0-at20230414030629
NuGet\Install-Package PdfCompressorLibrary.PieroViano -Version 1.0.0-at20230414030629
<PackageReference Include="PdfCompressorLibrary.PieroViano" Version="1.0.0-at20230414030629" />
paket add PdfCompressorLibrary.PieroViano --version 1.0.0-at20230414030629
#r "nuget: PdfCompressorLibrary.PieroViano, 1.0.0-at20230414030629"
// Install PdfCompressorLibrary.PieroViano as a Cake Addin #addin nuget:?package=PdfCompressorLibrary.PieroViano&version=1.0.0-at20230414030629&prerelease // Install PdfCompressorLibrary.PieroViano as a Cake Tool #tool nuget:?package=PdfCompressorLibrary.PieroViano&version=1.0.0-at20230414030629&prerelease
PdfCompression
Compress PDF documents with help of ITextSharp and FreeImage third party libs. Excellent point to start and customize for your particular cases.
My experience was based on scanned documents mostly black-and-white. This project could help you to compress files up to 70%
Settings
Build solution and restore Nuget packages ITextSharp and FreeImage.
- Setup at first parameters SourceFolder and DestinationFolder at App.config file.
- Copy FreeImage.dll from "\packages\VVVV.FreeImage.3.15.1.1\build\net40\freeimage\x86\FreeImage.dll" into "bin" folder at "PdfCompressorLibrary" and "UnitTests". "FreeImage.dll" is the main C++ lib, which resample, resize images brilliantly.
First launch
Run single test "RunCompression" and point fileName. Verify compressed file in Destination folder. If quality/compressionLevel were not satisfied you, then try to play with "compressionLevel" parameter at "Runner.cs"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0-windows7.0 is compatible. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
.NET Framework | net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
-
.NETFramework 4.0
- FreeImage-dotnet-core (>= 4.3.7-at20230411071636)
- itextsharp (>= 5.5.13.3)
- Net4x.AsyncBridge (>= 1.0.0-at20230411061314)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.5
- FreeImage-dotnet-core (>= 4.3.7-at20230411071636)
- itextsharp (>= 5.5.13.3)
- Net4x.AsyncBridge (>= 1.0.0-at20230411061314)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.8
- FreeImage-dotnet-core (>= 4.3.7-at20230411071636)
- itextsharp (>= 5.5.13.3)
- Net4x.AsyncBridge (>= 1.0.0-at20230411061314)
- System.ValueTuple (>= 4.5.0)
-
net5.0-windows7.0
- FreeImage-dotnet-core (>= 4.3.7-at20230411071636)
- iTextSharp.netstandard (>= 5.5.13.2)
- Net4x.AsyncBridge (>= 1.0.0-at20230411061314)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.ValueTuple (>= 4.5.0)
-
net6.0-windows7.0
- FreeImage-dotnet-core (>= 4.3.7-at20230411071636)
- iTextSharp.netstandard (>= 5.5.13.2)
- Net4x.AsyncBridge (>= 1.0.0-at20230411061314)
- System.Configuration.ConfigurationManager (>= 6.0.0)
- System.ValueTuple (>= 4.5.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PdfCompressorLibrary.PieroViano:
Package | Downloads |
---|---|
PdfRecognizerLibrary.PieroViano
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0-at20230414030629 | 96 | 4/14/2023 |