# New-ImageQRCodeGeoLocation

Generates a QR code with geolocation data. 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`

Generates a QR code with geolocation data.

## Syntax

```
New-ImageQRCodeGeoLocation
[-BackgroundColor <Color>]
[-FilePath] <String>
[-ForegroundColor <Color>]
[-Latitude] <String>
[-Longitude] <String>
[-PixelSize <Int32>]
[-Show]
[<CommonParameters>]
```

[#](#method-new-imageqrcodegeolocation-color-string-color-string-string-int32-switchparameter)

Parameter set: `All Parameter Sets`

## Description

Use this cmdlet to create location QR codes that open map applications at a specific coordinate.

## Examples

### Create a basic geolocation QR code

```powershell
New-ImageQRCodeGeoLocation -Latitude '52.2297' -Longitude '21.0122' -FilePath geo.png
```

Generates a QR code that opens the target coordinates in compatible map applications.

### Create an event-location QR code

```powershell
New-ImageQRCodeGeoLocation -Latitude '51.1079' -Longitude '17.0385' -FilePath venue.png -ForegroundColor DarkGreen -PixelSize 16 -Show
```

Creates a location QR for signage, invitations, or venue directions and previews it immediately.

## Parameters

**-BackgroundColor Color optional**

Background color of the QR code.

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

The image format is inferred from the file extension.

**-ForegroundColor Color optional**

Foreground color of QR modules.

**-Latitude String requiredposition: 0**

Latitude value.

**-Longitude String requiredposition: 1**

Longitude value.

**-PixelSize Int32 optional**

Pixel size for each QR module.

**-Show SwitchParameter optional**

Open image after creation.

## 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:0FBE8129868D4304EAE54C9DE30A42E7A5ED41BC471D156D475739A33E425145 -->
