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-ImageQRCodeGeoLocation

Namespace ImagePlayground
Inputs
System.String

Generates a QR code with geolocation data.

Remarks

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

Examples

Authored help example

Create a basic geolocation QR code

PS>


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

PS>


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.

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-ImageQRCodeGeoLocation [-BackgroundColor <Color>] -FilePath <String> [-ForegroundColor <Color>] -Latitude <String> -Longitude <String> [-PixelSize <Int32>] [-Show] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

BackgroundColor Color optionalposition: namedpipeline: False
Background color of the QR code.
FilePath String requiredposition: 2pipeline: True (ByValue)
The image format is inferred from the file extension.
ForegroundColor Color optionalposition: namedpipeline: False
Foreground color of QR modules.
Latitude String requiredposition: 0pipeline: False
Latitude value.
Longitude String requiredposition: 1pipeline: False
Longitude value.
PixelSize Int32 optionalposition: namedpipeline: False
Pixel size for each QR module.
Show SwitchParameter optionalposition: namedpipeline: False
Open image after creation.