Skip to content
AsjerSPublic

About

Versatile Screen Capture Utility

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

VeSCU Logo

VeSCU - Versatile Screen Capture Utility

Release License Platform Runtime

Installation

Download a release from here and install it.

It's also available on WinGet:

winget install AsjerS.VeSCU

The program requires .NET Desktop Runtime 11 to run.

Screenshots

Tray icon menu Encoder configuration screen
Screenshot of the tray icon menu Screenshot of the encoder selection menu

Features

  • Captures your screen, converts the pixels to a format encoders can understand with custom built functions, and hands it to an encoder of your choice.
  • Made to be undisruptive: taking a screenshot does not shift focus, and works with lower CPU priority than your apps and games.
  • Out-of-the-box support for JPEG XL, AVIF, WebP, PNG and JPEG.
    • And with a custom configuration, it can stream pixels to any encoder executable you have that supports stdin.
  • Doesn't perform any unnecessary disk writes.
  • Only connects to the internet when you prompt it to; used to autonomously download+install encoders.

Configuration

ConfigVersion_DoNotModify = 2

[Hotkey]
# uses https://learn.microsoft.com/dotnet/api/system.windows.forms.keys
Key = "PrintScreen"
Ctrl = true
Alt = true
Shift = false
Win = false
# the final hotkey results in: Ctrl+Alt+PrintScreen

[Saving]
# directory to which screenshots should be saved
# this default means C:\Users\YourName\Pictures\Screenshots
Directory = "%USERPROFILE%\\Pictures\\Screenshots"
# base filename of the screenshots
Filename = "Screenshot_{yyyy}-{MM}-{dd}_{HH}-{mm}-{ss}"
# stuff in curly braces {} can get translated to the current time/date,
# for both Directory and Filename

[Encoder]
# the path to the program used to encode the final image
# values that can be auto downloaded are:
# 'avifenc.exe', 'cjpeg.exe', 'cjxl.exe', 'cwebp.exe', 'oxipng.exe'
# but any path to any program that supports stdin can work too
Path = "cwebp.exe"
# the arguments passed to the encoder,
# with {Output} being translated to the final screenshot location
Arguments = "-q 90 -m 6 -o {Output} -- -"
# the format in which pixels should be delivered to the encoder through stdin
# valid values are: 'Ppm', 'Png'
# note: this is only an internal format, and will not be saved to disk
InputFormat = "Png"
# the extension to append to screenshot files
Extension = ".webp"

How it works

  1. When the program starts up, it checks if the configuration file is valid (not missing keys), and if it isn't, it auto repairs.
  2. If the configuration is unusable (unwritable paths or missing encoders), it gives an error and prompt to either close the app or to open the config file to fix it. In the case of a missing encoder it first prompts to auto download the encoder.
  3. It binds the hotkey in Windows and makes the tray icon.
  4. When the hotkey is pressed or a screen capture is manually initiated, it reads all pixels from the primary stream as a bitmap, hands that bitmap to an intermediary encoder to convert it to a format like PPM/PNG, and streams that into the stdin of the encoder set in the config.

About

Versatile Screen Capture Utility

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages