Skip to content

frontend: Enhance the screenshot functionality#13522

Open
qwertz28 wants to merge 5 commits into
obsproject:masterfrom
qwertz28:enhance_screenshot_functionality
Open

frontend: Enhance the screenshot functionality#13522
qwertz28 wants to merge 5 commits into
obsproject:masterfrom
qwertz28:enhance_screenshot_functionality

Conversation

@qwertz28
Copy link
Copy Markdown

@qwertz28 qwertz28 commented Jun 5, 2026

Description

Extends the screenshot taking functionality with the following features:

  • more file formats: .jpeg, .bmp;
  • adjustable quality for jpeg;
  • configurable path for screenshots;
  • configurable file name prefix and suffix;
  • scaled image capture;
  • alpha channel for png;
  • screenshot button in the controls dock.

Screenshots

1 2 3

Motivation and Context

This PR mainly implements these feature requests:

How Has This Been Tested?

Testing environment

  • Windows 10 Pro 22H2 x64
  • AMD Ryzen 5 2400G
  • 16GB DDR4 RAM
  • NVIDIA GeForce GTX 1050 Ti

Tests

  • using various file formats
  • using various color spaces and formats
  • using various downscale settings
  • taking screenshots of various targets (scene, preview, program, output, source)
  • adjusting the added parameters

Types of changes

  • New feature (non-breaking change which adds functionality)
  • Tweak (non-breaking change to improve existing functionality)

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

qwertz28 added 5 commits June 5, 2026 20:30
Adds settings entries for the implemented screenshot features
and the "Take Screenshot" button to the controls dock
Makes the new settings entries functional, adds new hotkeys
and callbacks to handle the implemented features
Adds obs_get_output_texture() and obs_get_color_space()
functions which are used for taking output screenshots
Implements the features:
- scaled screenshot;
- more file formats;
- alpha for png;
- quality for jpeg;
- screenshot file name prefix and suffix.
Adds documentation entries for the new libobs functions
@qwertz28 qwertz28 changed the title Enhance the screenshot functionality frontend: Enhance the screenshot functionality Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant