Skip to content

Commit 4de74af

Browse files
author
Conner.Will
committed
Fixed docs
1 parent e551494 commit 4de74af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Convert-ImageToASCIIArt.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ function Convert-ImageToASCIIArt {
8585
# List of ASCII characters to use for the output.
8686
$chars = @(' ', '.', ',', ':', ';', 'o', 'x', '%', '#', '@')
8787

88-
Write-Verbose -Message "Using image: '$ImagePath' with a MaxWidth of '$MaxWidth' and a Contrast value of '$Contrast'"
88+
Write-Verbose -Message "Using image: '${ImagePath}' with a MaxWidth of '${MaxWidth}' and a Contrast value of '${Contrast}'"
8989

9090
# Load the image and resize it to a maximum width of $MaxWidth.
91-
Write-Verbose -Message "Loading image '$ImagePath' and resizing it to a maximum width of '$MaxWidth'"
91+
Write-Verbose -Message "Loading image '${ImagePath}' and resizing it to a maximum width of '${MaxWidth}'"
9292
$image = [System.Drawing.Image]::FromFile($ImagePath)
9393
$ratio = $MaxWidth / $image.Width
9494
$newWidth = [int]($image.Width * $ratio)

0 commit comments

Comments
 (0)