PdfCompressorLibrary.PieroViano 1.0.0-at20230414030629

This is a prerelease version of PdfCompressorLibrary.PieroViano.
dotnet add package PdfCompressorLibrary.PieroViano --version 1.0.0-at20230414030629
NuGet\Install-Package PdfCompressorLibrary.PieroViano -Version 1.0.0-at20230414030629
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="PdfCompressorLibrary.PieroViano" Version="1.0.0-at20230414030629" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PdfCompressorLibrary.PieroViano --version 1.0.0-at20230414030629
#r "nuget: PdfCompressorLibrary.PieroViano, 1.0.0-at20230414030629"
#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 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.

  1. Setup at first parameters SourceFolder and DestinationFolder at App.config file.
  2. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 79 4/14/2023