# New-ImageBarCode

Creates a barcode image. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground API Reference.

Project

ImagePlayground

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

[View on GitHub](https://github.com/EvotecIT/ImagePlayground) [Visit Website](#) [Releases](https://github.com/EvotecIT/ImagePlayground/releases) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/ImagePlayground)

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**Module**

`ImagePlayground`

**Inputs**

`System.String`

Creates a barcode image.

## Syntax

```
New-ImageBarCode
[-FilePath] <String>
[-Type] <BarcodeType>
[-Value] <String>
[<CommonParameters>]
```

[#](#method-new-imagebarcode-string-barcodetype-string)

Parameter set: `All Parameter Sets`

## Examples

### Create barcode

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

## Parameters

**-FilePath String requiredposition: 2pipeline: True (ByValue)**

Output path for the barcode image.

**-Type BarcodeType requiredposition: 0**

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: 1**

Value encoded in the barcode.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:93C0935AC1E1CC81DB523EC6F6738D95DE47CD2D5A833B1A285D1E1C22EF9028 -->
