dotnet-sprite
1.0.6
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global dotnet-sprite --version 1.0.6
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-sprite --version 1.0.6
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-sprite&version=1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-sprite --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
dotnet-sprite
A utility designed to produce a CSS sprite from a folder of images. An image sprite consolidates multiple images into a single file. Websites containing numerous images may experience prolonged loading times and trigger numerous server requests. Utilizing image sprites minimizes server requests, conserving bandwidth. This tool facilitates the creation of a sprite image along with its corresponding CSS file.
Learn more about Implementing image sprites in CSS
Get started
Install .NET 6 or newer and run this command:
dotnet tool install --global dotnet-sprite
Run the tool with dotnet-sprite
command.
Usage
Description:
A tool to generate a CSS sprite from a directory of images
Usage:
dotnet-sprite <source> [options]
Arguments:
<source> Source images directory [default: C:\Windows]
Options:
-o, --output <output> Output directory
-c, --use-classes Use classes instead of ids in the CSS file [default: False]
--version Show version information
-?, -h, --help Show help and usage information
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 was computed. 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.
This package has no dependencies.