Get-SpectreImage
Description
Displays an image in the console using CanvasImage. The image can be resized to a maximum width if desired.
Examples
Example 1
This example demonstrates how to display an image in the console.
Parameters
ImagePath
The path to the image file to be displayed.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] | false | 1 | false |
MaxWidth
The maximum width of the image. If not specified, the image will be displayed at its original size.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Int32] | false | 2 | false |