dotnet add package Syncfusion.Pdf.Imaging.NET --version 23.1.36
NuGet\Install-Package Syncfusion.Pdf.Imaging.NET -Version 23.1.36
<PackageReference Include="Syncfusion.Pdf.Imaging.NET" Version="23.1.36" />
paket add Syncfusion.Pdf.Imaging.NET --version 23.1.36
#r "nuget: Syncfusion.Pdf.Imaging.NET, 23.1.36"
// Install Syncfusion.Pdf.Imaging.NET as a Cake Addin #addin nuget:?package=Syncfusion.Pdf.Imaging.NET&version=23.1.36 // Install Syncfusion.Pdf.Imaging.NET as a Cake Tool #tool nuget:?package=Syncfusion.Pdf.Imaging.NET&version=23.1.36
Syncfusion .NET PDF Imaging library
Syncfusion .NET PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET applications.
- Supports drawing JPEG, PNG images to PDF document.
- Support to compress existing PDF files.
- Support to extract images from existing PDF files.
- Support to convert PDF to PDF/A-1B conformance.
- Support for PDF/X1-A,PDF/A1-B,PDF/A3-B and PDF/A1-B conformances.
- Support to run the PDF applications in multi-thread and its thread safe.
You can fetch the Syncfusion .NET PDF imaging library NuGet by simply running
Install-Package Syncfusion.Pdf.Imaging.NET from the Package Manager Console in Visual Studio.
Try the following code example to draw image to PDF document
//Create a new PDF document PdfDocument doc = new PdfDocument(); //Add a page to the document PdfPage page = doc.Pages.Add(); //Create PDF graphics for the page PdfGraphics graphics = page.Graphics; //Load the image from the disk FileStream imageStream = new FileStream("Autumn Leaves.jpg", FileMode.Open, FileAccess.Read); PdfBitmap image = new PdfBitmap(imageStream); //Draw the image graphics.DrawImage(image, 0, 0); //Creating the stream object MemoryStream stream = new MemoryStream(); //Save the document as stream doc.Save(stream); //Close the document doc.Close(true);
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 26,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Syncfusion.Pdf.Imaging.NET:
The Syncfusion Essential PDF OCR is a .NET standard character recognition library that recognizes characters from both images and PDF in any .NET core application. Syncfusion OCRProcessor uses tesseract, one of most accurate OCR engines.
This package provides the functionality to utilize the features of Syncfusion .NET Maui PdfViewer control and more.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Syncfusion.Pdf.Imaging.NET:
This repository contains the Syncfusion .NET MAUI control’s samples and the guide to use them