Aspose.Imaging.Pdf.Adapter 24.6.0

There is a newer version of this package available.
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                
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="Aspose.Imaging.Pdf.Adapter" Version="24.6.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Imaging.Pdf.Adapter --version 24.6.0                
#r "nuget: Aspose.Imaging.Pdf.Adapter, 24.6.0"                
#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 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.10.0 2 10/2/2024
24.6.0 1 6/5/2024
24.4.7 2 4/5/2024
24.4.6 1 4/5/2024
24.4.5 1 3/27/2024
24.4.4 1 3/20/2024
24.4.2 2 3/20/2024
24.4.1 1 3/19/2024
24.4.0 2 3/19/2024