Aspose.Imaging.Pdf.Adapter
24.6.0
See the version list below for details.
dotnet add package Aspose.Imaging.Pdf.Adapter --version 24.6.0
NuGet\Install-Package Aspose.Imaging.Pdf.Adapter -Version 24.6.0
<PackageReference Include="Aspose.Imaging.Pdf.Adapter" Version="24.6.0" />
paket add Aspose.Imaging.Pdf.Adapter --version 24.6.0
#r "nuget: Aspose.Imaging.Pdf.Adapter, 24.6.0"
// Install Aspose.Imaging.Pdf.Adapter as a Cake Addin #addin nuget:?package=Aspose.Imaging.Pdf.Adapter&version=24.6.0 // Install Aspose.Imaging.Pdf.Adapter as a Cake Tool #tool nuget:?package=Aspose.Imaging.Pdf.Adapter&version=24.6.0
Aspose.Imaging.Pdf.Adapter for .NET
Aspose.Imaging.Pdf.Adapter for .NET Combines 2 Aspose products Aspose.Imaging for .NET and Aspose.Pdf for .NET, this allows you to use the functions of both libraries as a single whole and expand conversion between formats. This adapter supports conversion emf, wmf, cdr, psd, tiff, webp, etc. formats to formats supported by the Aspose.Pdf library, such as pdf (with more advanced settings), docx, xlsx, html, pptx. And also conversion PDF format to all formats supported by the Aspose.Imaging library, such as Emf, Wmf, J2k, Webp, Tiff, etc.
Platform Independence
Aspose.Imaging.Pdf.Adapter for .NET can be used to develop applications on Windows Desktop (x86, x64), Windows Server (x86, x64), Windows Azure, Windows Embedded (CE 6.0 R2), as well as Linux x64. The supported platforms include .Net Core 3.1, .Net6.0, .Net7.0, .Net8.0.
New Features & Enhancements in Version 24.6
Added platform support:
- .Net Core 3.1
- .Net6.0
- .Net8.0
- Aspose.Pdf & Aspose.Imaging packages versions updated
Getting Started with Aspose.Imaging.Pdf.Adapter for .NET
Are you ready to give Aspose.Imaging.Pdf.Adapter for .NET a try? Simply execute
Install-Package Aspose.Imaging.Pdf.Adapter
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Imaging.Pdf.Adapter for .NET and want to upgrade the version, please execute
Update-Package Aspose.Imaging.Pdf.Adapter
to get the latest version.
Usage example
Conversion Cdr file to Pdf format(Pdf1A) (Aspose.Imaging->Aspose.Pdf)
using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.Pdf.Adapter;
using Aspose.Imaging.Pdf.Adapter.ImageOptions;
using Aspose.Pdf;
// Register adapter - must be called once to initialize the library
// it is possible not to explicitly call registration if there were previous calls
// PdfLoadOptions.Create, ImageOptionsExt
PdfImage.Register();
using var image = Aspose.Imaging.Image.Load(@"example.cdr");
image.Save("result.pdf", new ImageOptionsExt<PdfSaveOptionsExt>()
{
SaveOptions = new PdfSaveOptionsExt() {FormatConversionOptions = new PdfFormatConversionOptions(PdfFormat.PDF_A_1A)},
VectorRasterizationOptions = new CdrRasterizationOptions()
{
PageSize = image.Size
}
});
Conversion Cdr file to Docx format (Aspose.Imaging->Aspose.Pdf)
using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.Pdf.Adapter;
using Aspose.Imaging.Pdf.Adapter.ImageOptions;
using Aspose.Pdf;
// Register adapter - must be called once to initialize the library
// it is possible not to explicitly call registration if there were previous calls
// PdfLoadOptions.Create, ImageOptionsExt
PdfImage.Register();
using var image = Aspose.Imaging.Image.Load(@"example.cdr");
image.Save(@"result.docx", new ImageOptionsExt<DocSaveOptions>
{
SaveOptions = new DocSaveOptions
{
Format = DocSaveOptions.DocFormat.DocX
},
VectorRasterizationOptions = new CdrRasterizationOptions
{
PageSize = image.Size
}
});
Conversion Pdf file to webp format (Aspose.Pdf->Aspose.Imaging)
using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.Pdf.Adapter;
// Register adapter - must be called once to initialize the library
// it is possible not to explicitly call registration if there were previous calls
// PdfLoadOptions.Create, ImageOptionsExt
PdfImage.Register();
using var image = Aspose.Imaging.Image.Load("example.pdf"));
image.Save("result.webp", new WebPOptions());
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. 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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Aspose.Imaging (>= 24.6.0)
- Aspose.PDF (>= 24.5.1)
-
net6.0
- Aspose.Imaging (>= 24.6.0)
- Aspose.PDF (>= 24.5.1)
-
net7.0
- Aspose.Imaging (>= 24.6.0)
- Aspose.PDF (>= 24.5.1)
-
net8.0
- Aspose.Imaging (>= 24.6.0)
- Aspose.PDF (>= 24.5.1)
GitHub repositories
This package is not used by any popular GitHub repositories.