Net4x.PdfCompressorLibrary 1.1.0-at20230507022751

This is a prerelease version of Net4x.PdfCompressorLibrary.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Net4x.PdfCompressorLibrary --version 1.1.0-at20230507022751                
NuGet\Install-Package Net4x.PdfCompressorLibrary -Version 1.1.0-at20230507022751                
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="Net4x.PdfCompressorLibrary" Version="1.1.0-at20230507022751" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Net4x.PdfCompressorLibrary --version 1.1.0-at20230507022751                
#r "nuget: Net4x.PdfCompressorLibrary, 1.1.0-at20230507022751"                
#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 Net4x.PdfCompressorLibrary as a Cake Addin
#addin nuget:?package=Net4x.PdfCompressorLibrary&version=1.1.0-at20230507022751&prerelease

// Install Net4x.PdfCompressorLibrary as a Cake Tool
#tool nuget:?package=Net4x.PdfCompressorLibrary&version=1.1.0-at20230507022751&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 Net4x.PdfCompressorLibrary:

Package Downloads
Net4x.PdfRecognizerLibrary

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 208 8/27/2023
1.1.0-at20230507022751 104 5/8/2023