Skip to content

somethingSTRANGE/StrangeLens

Repository files navigation

Strange Lens

Magnification

A pixel-precise screen magnifier, color picker, and measurement tool for Windows 10+, designed for UI development, pixel art, graphic design, and accessibility.

Features

  • Pixel-accurate screen magnifier with adjustable size and zoom
  • Live color picker — Hex, RGB, HSL, 12-bit, and web-safe formats
  • On-screen measurement tool with anchor points
  • Precision mouse mode for sub-pixel alignment
  • Global keyboard shortcuts
  • System tray integration
  • Portable — no installation required

Installation

Strange Lens is fully portable. It requires no installer, writes no registry entries, and needs no administrator privileges to run.

  1. Download the latest release
  2. Unzip both StrangeLens.exe and StrangeLens.Settings.exe into the same folder — Settings and About are launched as a separate process that Strange Lens locates next to its own executable, so keep them together. A good choice is %LocalAppData%\Programs\StrangeLens\, because it keeps user-scoped apps in one place and requires no admin rights.

The optional Start with Windows feature writes a single registry key to launch the app at login; if you prefer to avoid that, drop a shortcut to the exe in your startup folder (shell:startup) instead.

Usage

Single-click the system tray icon to toggle the lens, or use Ctrl+Alt+Shift+Z from anywhere.

Right-click the icon to open the context menu.

Context Menu

  • Toggle Lens — yet another way to toggle the lens.
  • Settings — opens the configuration panel. Double-clicking the tray icon does the same.
  • Start with Windows — toggles whether Strange Lens launches at login.
  • About — opens the app version info. Click Copy and Close to copy the version string to the clipboard — useful when filing a bug report.

Precision Mouse

Hold Ctrl+Alt+Shift while the lens is open to enter precision mode. Mouse movement is scaled to a fraction of its normal speed, making it easy to land the crosshair on a specific pixel. Adjust the speed in Settings under Mouse Precision Speed.

The Info panel shows current cursor coordinates and the active speed percentage while precision mode is active.

When the lens has focus, arrow keys nudge the cursor one pixel at a time regardless of precision mode.

Measuring

Precision mode pairs naturally with measurement — use it to align the crosshair accurately before dropping the anchor.

  1. Position the crosshair over one edge of the area you want to measure.
  2. Press Ctrl+Alt+Shift+Q to drop the anchor.
  3. Move the cursor to the opposite edge — the Info panel updates live with the current Width × Height delta.
  4. Press Ctrl+Alt+Shift+Q again to dismiss, or close the lens.

Measurement mode remains active until you toggle it off or close the lens.

Color Picking

The Info panel displays the color beneath the cursor in Hex, RGB, and HSL color formats, as well as 12-bit and web-safe color conversions. Each format has a dedicated copy shortcut (see table below). The copied format is confirmed briefly in the Info panel.

Keyboard & Mouse Shortcuts

Input Action
Ctrl+Alt+Shift+Z Toggle lens window open/closed

The following shortcuts are only available when the lens is open.

Input Action
Ctrl+Alt+Shift Precision mode is active while held
Ctrl+Alt+Shift+X Copy color as Hex
Ctrl+Alt+Shift+R Copy color as RGB
Ctrl+Alt+Shift+S Copy color as HSL
Ctrl+Alt+Shift+1 Copy nearest 12-bit color
Ctrl+Alt+Shift+W Copy nearest web-safe color
Ctrl+Alt+Shift+Q Toggle measurement mode on/off
Ctrl+Alt+Shift+Scroll Magnification zoom in/out

The following shortcuts are only available when the lens is open and has focus, which is indicated by the blue border around the lens window.

Input Action
Ctrl+= and Ctrl+- Magnification zoom in/out
Arrow keys Nudge mouse cursor 1px
ESC Close lens window

Ctrl+Alt+Shift+Z is the primary way to open and close the lens. ESC is a fallback that only works when the lens window has focus. The lens window border color indicates when the window has focus.

Troubleshooting

  • Lens doesn't appear or hotkeys don't respond: Another application may have registered the same key combination. Check the system tray to confirm Strange Lens is running, then look for conflicts in other running apps (AutoHotkey scripts, keyboard utilities, etc.).

  • Colors look wrong on HDR displays: GDI screen capture works in the SDR color space. Colors sampled from HDR content may not match what is visually rendered on screen.

  • Content from some windows appears black or missing: Windows prevents GDI from reading pixels from processes running at a higher integrity level (e.g., apps launched as administrator). The lens will show a checkerboard pattern where that content would be.

Privacy

  • All processing happens locally — no data leaves your machine
  • No network requests of any kind
  • No analytics or telemetry
  • Screen content is never stored or logged

Building

Requires the .NET 10 SDK.

dotnet build StrangeLens.sln

License

Released under the MIT License.

About

A pixel-precise screen magnifier, color picker, and measurement tool for Windows 10+, designed for UI development, pixel art, graphic design, and accessibility.

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages