Skip to content

Convert Text to Image using powershell cmdlet. Forked from Text2Image with different functionality.

License

Notifications You must be signed in to change notification settings

deathcrafter/Text-to-Image-Mod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text2Image

Convert Text to Image. Redirect your output into variable/file and then convert it to image. With our various range of options, customize you text and save as an image.

Image formats supported:

  • png
  • bmp
  • gif
  • jpeg
  • tiff

Install Module

Install-Module -Name TextToImage

Cmdlets

ConvertTo-Image

or

txt2img

Dependencies

This module has no dependencies.

Parameters

ImageText or text (mandatory)

ConvertTo-Image -text "lord death"

BackgroundMode (Transparent(default)/Solid)

ConvertTo-Image -text "lord death" -BackgroundMode "Transparent"

SolidColor (format ARGB) (default 255,30,30,30 | only works with BackgroundMode Solid)

ConvertTo-Image -text "lord death" -SolidColor "20,40,60,190"

FontFace or font (default Segoe UI)

ConvertTo-Image -text "lord death" -font "Comfortaa Regular"

FontSize or size (default 11)

ConvertTo-Image -text "lord death" -size 20

FontColor (default White, check here for more colors)

ConvertTo-Image -text "lord death" -FontColor "AliceBlue"

ImageName or name (default NewIamge)

ConvertTo-Image -text "lord death" -name LordDeath

ImageType or type (Png(default)/Bmp/Gif/Jpeg/Tiff)

ConvertTo-Image -text "lord death" -type "Jpeg"

ImagePath or path (default current directory)

ConvertTo-Image -text "lord death" -path "D:\Death\"

EXAMPLE

txt2img -ImageText "Testing text2image mod" -BackGroundMode "SolidColor" -SolidColor "200, 255, 0, 255" -FontFace "Segoe UI Variable Display Semilight" -FontSize 18 -FontColor "MidnightBlue" -ImageName "LordDeath" -ImageType "png"

Output:

Example

About

Convert Text to Image using powershell cmdlet. Forked from Text2Image with different functionality.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%