Project

ImagePlayground

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

Stars 101
Forks 7
Total downloads 711,982
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-26
Command

New-ImageQRCodeGeoLocation

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>]
#
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

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

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.