Aspose.Imaging.Pdf.Adapter
24.10.0
dotnet add package Aspose.Imaging.Pdf.Adapter --version 24.10.0
NuGet\Install-Package Aspose.Imaging.Pdf.Adapter -Version 24.10.0
<PackageReference Include="Aspose.Imaging.Pdf.Adapter" Version="24.10.0" />
paket add Aspose.Imaging.Pdf.Adapter --version 24.10.0
#r "nuget: Aspose.Imaging.Pdf.Adapter, 24.10.0"
// Install Aspose.Imaging.Pdf.Adapter as a Cake Addin #addin nuget:?package=Aspose.Imaging.Pdf.Adapter&version=24.10.0 // Install Aspose.Imaging.Pdf.Adapter as a Cake Tool #tool nuget:?package=Aspose.Imaging.Pdf.Adapter&version=24.10.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.10
Upadted Aspose.Imaging to version 24.9 Updated Aspose.Pdf to version 24.9
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 | 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. |
-
.NETStandard 2.0
- Aspose.Imaging (>= 24.9.0)
- Aspose.PDF (>= 24.9.0)
-
net6.0
- Aspose.Imaging (>= 24.9.0)
- Aspose.PDF (>= 24.9.0)
-
net7.0
- Aspose.Imaging (>= 24.9.0)
- Aspose.PDF (>= 24.9.0)
-
net8.0
- Aspose.Imaging (>= 24.9.0)
- Aspose.PDF (>= 24.9.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.