Jump to content
The Dark Mod Forums

Change default resolution of saved screenshots


datiswous

Recommended Posts

You can quickly and easily (for free) batch resize images using IfranView. (https://www.fosshub.com/IrfanView.html)

Tutorial: https://kb.tourwriter.com/resizing-pictures-using-irfanview

 

I personally use photoshop batch resize as I paid for the app, but ifranview is excellent also.

  • Like 1

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

14 hours ago, stgatilov said:

In theory, you can pass resolution to screenshot command: screenshot 1000 1000.

But in practice it is broken now.

Why is it broken?

 

9 hours ago, AluminumHaste said:

You can quickly and easily (for free) batch resize images using IfranView.

Thanks, but I can already do that with Pix (Linux). I know how to do that, but I want to save screenshots directly at a specific resolution.

Link to comment
Share on other sites

37 minutes ago, datiswous said:

I guess maybe I could do:

r_customWidth 1280
r_customHeight 720
screenshot
r_customWidth 1920
r_customHeight 1080

But I don't know if I could put that in a command.

I think it won't work until game restart, and won't work at all in fullscreen/borderless mode.

Yes, it's either we need to fix the old tiled rendered, or we need to allow rendering screenshot frame with different resolution.

  • Like 1
Link to comment
Share on other sites

Well it works via command vid_restart , but it's very slow..

I guess the best workaround is to make some script that converts all image files in the screenshots folder to the specified resolution. Like:

#! /usr/bin/bash
mogrify -resize 1280x720 ./*.jpg
Edited by datiswous
Link to comment
Share on other sites

Well since you're a Linux user and already know about scripts, I invite you to learn about the inotifywait command which can monitor the changes made to a directory or file. You could have your mogrify script run whenever the screenshots dir changes (i.e. a screenshot is saved).

Examples - https://www.thegeekdiary.com/inotifywait-command-examples-in-linux/

Edited by Xolvix
  • Thanks 1

A word of warning, Agent Denton. This was a simulated experience; real LAMs will not be so forgiving.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...