How to Make a Screenshot of part of the screen (UI ONLY)?

Hi, everyone!
I’m wondering if it’s even possible to make a highres screenshot of a UI only app, where I have control of the size of the output image and the portion of the screen captured.
I want the user to press EXPORT and the portion of the screen with a customized image will be captured and exported in a specific size in pixels.
Is that possible using Blueprints?

Thanks in advance for your help!

If anyone will pass by in the future:

  1. As for now, it’s no possible to use high resolution screenshot with UI.
  2. The command Shot showui did export with UI, but you cannot set the size of the output image.

My solution:
I created a BP Actor and inside I added the Widget component.
Inside the Widget component I checked the option “Receive Harware Input” under Interaction menu.

Added the Actor to the scene.
Placed the camera to be perfectly perpendicular facing towards the Widget.
In the level blueprint I added a command console node: “viewmode unlit”.

Now everything is fine when exporting.

I just need to figure out how to crop the output image.

Temporary solution is to change camera when exporting in order to hide the rest of the ui and focus only on the desired portion of the screen.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.