Moriyama.PreviewPDF.IronPDF
1.0.1
Prefix Reserved
dotnet add package Moriyama.PreviewPDF.IronPDF --version 1.0.1
NuGet\Install-Package Moriyama.PreviewPDF.IronPDF -Version 1.0.1
<PackageReference Include="Moriyama.PreviewPDF.IronPDF" Version="1.0.1" />
paket add Moriyama.PreviewPDF.IronPDF --version 1.0.1
#r "nuget: Moriyama.PreviewPDF.IronPDF, 1.0.1"
// Install Moriyama.PreviewPDF.IronPDF as a Cake Addin #addin nuget:?package=Moriyama.PreviewPDF.IronPDF&version=1.0.1 // Install Moriyama.PreviewPDF.IronPDF as a Cake Tool #tool nuget:?package=Moriyama.PreviewPDF.IronPDF&version=1.0.1
Moriyama.PreviewPDF
Moriyama.PreviewPDF are packages which automatically generates a thumbnail png when uploading a PDF to the Umbraco CMS Media section.
Compatibility
This package will only work on Windows machines and servers
This has been tested and compiled against Umbraco V10 (DotNet 6) and Umbraco V13 (DotNet 8) no other versions are officially supported.
There are three versions of the package
Ghostscript
It makes use of the Ghostscript library, when installing the NuGet package it will add both the Windows x86 and x64 DLLs into your project.
The current version used is: 10.02.1
This package also uses the prerelease version of Ghostscript.Core
Please review the licensing which can be found here: https://www.ghostscript.com/licensing/index.html
ABCpdf
It makes use of the ABCpdf library
You will need to purchase a license, you can purchase that here: https://www.websupergoo.com/abcpdf-1.aspx
If you choose to use the ABCpdf package, you will need to add or update the following appsetting in your appsettings.json
file:
{
"Umbraco": {
"CMS": {
"TypeFinder": {
"AssembliesAcceptingLoadExceptions": "*",
"AdditionalAssemblyExclusionEntries": [ "WindowsBase", "PresentationFramework", "ReachFramework", "PresentationCore" ]
}
}
}
}
IronPDF
It makes use of the IronPDF library
You will need to purchase a license, you can purchase that here: https://ironpdf.com/licensing/
If you choose to use the IronPDF package, you will need to add or update the following appsetting in your appsettings.json
file:
{
"Umbraco": {
"CMS": {
"TypeFinder": {
"AssembliesAcceptingLoadExceptions": "*",
"AdditionalAssemblyExclusionEntries": [
"SkiaSharp",
"PdfToSvg",
"Ninject",
"ZXing.ImageSharp.V2",
"zxing",
"DocumentFormat.OpenXml",
"OpenXmlPowerTools",
"Markdig.Signed",
"RtfPipe",
"DotNetZip",
"Babel.Licensing",
"Azure.Data.Tables",
"DeviceId.Windows",
"DeviceId.Linux",
"DeviceId.Mac",
"DeviceId",
"BouncyCastle.Crypto"
]
}
}
}
}
Getting started
You will need to edit the Article Media Type, this can be found under Settings → Media Types → Article
You will need to add a property called Thumbnail
with the alias of thumbnail
and Editor type of Upload
Once added change the order so that Thumbnail is the first property
Contribution guidelines
To raise a new bug, create an issue on the GitHub repository. To fix a bug or add new features, fork the repository and send a pull request with your changes. Feel free to add ideas to the repository's issues list if you would to discuss anything related to the package.
Who do I talk to?
This project is maintained by Moriyama and contributors. If you have any questions about the project please raise an issue on GitHub.
License
Copyright © 2024 Moriyama, and other contributors
Licensed under the MIT License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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. |
-
net6.0
- IronPdf (>= 2024.2.2)
- Moriyama.PreviewPDF.Shared (>= 1.0.1)
- Umbraco.Cms.Web.BackOffice (>= 10.8.3)
- Umbraco.Cms.Web.Website (>= 10.8.3)
-
net8.0
- IronPdf (>= 2024.2.2)
- Moriyama.PreviewPDF.Shared (>= 1.0.1)
- Umbraco.Cms.Web.BackOffice (>= 13.0.3)
- Umbraco.Cms.Web.Website (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.1 | 148 | 3/4/2024 |
1.0.1-beta0002 | 78 | 3/4/2024 |
1.0.0 | 108 | 3/4/2024 |
1.0.0-beta0047 | 94 | 3/4/2024 |