MeshWeaver.ThumbnailGenerator
2.5.0
dotnet tool install --global MeshWeaver.ThumbnailGenerator --version 2.5.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local MeshWeaver.ThumbnailGenerator --version 2.5.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MeshWeaver.ThumbnailGenerator&version=2.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package MeshWeaver.ThumbnailGenerator --version 2.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MeshWeaver Thumbnail Generator
A .NET tool for generating thumbnails of MeshWeaver Layout Areas using Playwright.
Installation
dotnet tool install -g MeshWeaver.ThumbnailGenerator
Usage
Generate thumbnails from a catalog page:
meshweaver-thumbnails --catalogUrl https://localhost:65260/@app/Documentation/Catalog --output ./thumbnails
Generate thumbnail for a single area:
meshweaver-thumbnails --area https://localhost:65260/@app/Documentation/Overview --output ./thumbnails
Options:
--catalogUrl: Full URL to the LayoutArea catalog page--area: URL of a single area to screenshot (alternative to --catalogUrl)--output: Output directory for thumbnails (default: ./thumbnails)--dark-mode: Generate dark mode thumbnails in addition to light mode (default: true)--width: Thumbnail width in pixels (default: 400)--height: Thumbnail height in pixels (default: 300)
Prerequisites
This tool requires Playwright browser binaries to be installed. After installing the tool, run:
pwsh bin/Debug/net9.0/playwright.ps1 install
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.