Moriyama.PreviewPDF.Ghostscript 1.0.0

Prefix Reserved
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Moriyama.PreviewPDF.Ghostscript --version 1.0.0                
NuGet\Install-Package Moriyama.PreviewPDF.Ghostscript -Version 1.0.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="Moriyama.PreviewPDF.Ghostscript" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Moriyama.PreviewPDF.Ghostscript --version 1.0.0                
#r "nuget: Moriyama.PreviewPDF.Ghostscript, 1.0.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 Moriyama.PreviewPDF.Ghostscript as a Cake Addin
#addin nuget:?package=Moriyama.PreviewPDF.Ghostscript&version=1.0.0

// Install Moriyama.PreviewPDF.Ghostscript as a Cake Tool
#tool nuget:?package=Moriyama.PreviewPDF.Ghostscript&version=1.0.0                

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

media type configuration

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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