GPAL.Image
1.1.1
Prefix Reserved
dotnet add package GPAL.Image --version 1.1.1
NuGet\Install-Package GPAL.Image -Version 1.1.1
<PackageReference Include="GPAL.Image" Version="1.1.1" />
<PackageVersion Include="GPAL.Image" Version="1.1.1" />
<PackageReference Include="GPAL.Image" />
paket add GPAL.Image --version 1.1.1
#r "nuget: GPAL.Image, 1.1.1"
#:package GPAL.Image@1.1.1
#addin nuget:?package=GPAL.Image&version=1.1.1
#tool nuget:?package=GPAL.Image&version=1.1.1
GPAL.Image
Image matching for GPAL, the Generally Positive Automation Library.
A GPAL selector can name an element by how it looks: a picture of a button, an icon, a logo. GPAL finds that picture on the screen, or in the browser's own capture when the browser is headless or on a hidden desktop. The matching itself lives in this package, so GPAL carries none of OpenCV's weight unless a workflow needs it.
Use
Add the package, then register it once at startup, before the first image selector runs:
using GenerallyPositive;
using GenerallyPositive.Image;
GPALImage.Register();
Selector logo = GPAL.Selector
.WithImage((GPALFile)@"C:\templates\logo.png")
.ToGPALObject();
Without it, an image selector finds nothing and GPAL publishes a warning saying the package is needed.
QR codes
The same registration lets GPAL read QR codes, such as the one a site shows when two-factor sign-in is turned on, or a Google Authenticator export holding every exported account. The secret it holds then makes the 6-digit sign-in code:
ICredentials fidelity = GPAL.CredentialsFor(CredentialServiceType.None)
.WithOtpQRCode((GPALFile)@"C:\secure\fidelity-qr.png")
.ToGPALObject();
fidelity.GetOtpCode(out string code);
Requirements
- Windows, on .NET 10 (target net10.0-windows) or .NET Framework 4.8
- A 64-bit process: OpenCV ships its native library for 64-bit Windows only. For an AnyCPU program, turn off Prefer 32-bit in the build settings, or target x64
- GPAL at the same version, installed with this package
Documentation: https://gpal.sditx.com/docs/concepts
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- GPAL (>= 1.1.1)
- OpenCvSharp4 (>= 4.13.0.20260627)
- OpenCvSharp4.Extensions (>= 4.13.0.20260627)
- OpenCvSharp4.runtime.win (>= 4.13.0.20260627)
-
net10.0-windows7.0
- GPAL (>= 1.1.1)
- OpenCvSharp4 (>= 4.13.0.20260627)
- OpenCvSharp4.Extensions (>= 4.13.0.20260627)
- OpenCvSharp4.runtime.win (>= 4.13.0.20260627)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.1.1 | 52 | 11/17/2026 | |
| 1.1.0 | 106 | 11/15/2026 | |
| 1.0.2 | 123 | 10/24/2026 | |
| 1.0.1 | 120 | 10/20/2026 | |
| 1.0.0 | 114 | 10/17/2026 | |
| 1.0.0-rc.3 | 74 | 10/12/2026 | |
| 1.0.0-rc.2 | 86 | 9/29/2026 |
- Released with GPAL 1.1.1; image matching is unchanged
- Full list: https://github.com/SoftwareDecisionsInc/GPAL/blob/main/CHANGELOG.md