Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars 100
Forks 7
Total downloads 712,347
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-08-25

API Reference

Command

New-ImageBarCode

Namespace ImagePlayground
Inputs
System.String

Creates a barcode image.

Remarks

Creates a barcode image.

Examples

Authored help example

Create barcode


New-ImageBarCode -Type EAN -Value 9012341234571 -FilePath barcode.png
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-ImageBarCode -FilePath <String> -Type <Code128> -Value <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

FilePath String requiredposition: 2pipeline: True (ByValue)
Output path for the barcode image.
Type BarcodeType requiredposition: 0pipeline: Falsevalues: 42
Barcode type.
Possible values: Code128, GS1_128, Code39, Code93, EAN, UPCA, UPCE, ITF14, ITF, Industrial2of5, Matrix2of5, IATA2of5, PatchCode, Codabar, MSI, Code11, Plessey, Telepen, Pharmacode, PharmacodeTwoTrack, Code32, Postnet, Planet, RoyalMail4State, AustraliaPost, JapanPost, GS1DataBarTruncated, GS1DataBarOmni, GS1DataBarStacked, GS1DataBarExpanded, GS1DataBarExpandedStacked, UspsImb, KixCode, DataMatrix, PDF417, MicroPDF417, GS1DataBarLimited, GS1DataBarStackedOmni, MaxiCode, DotCode, HanXin, GS1Composite
Value String requiredposition: 1pipeline: False
Value encoded in the barcode.