Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Is there a way to change the default resolution of saved screenshots?

Standard they're saved in the same resolution as the set screen resolution. But I upload them at a lower resolution to save space, so then I have to resize them first.

Posted
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.

Posted
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
Posted (edited)

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
Posted (edited)

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.

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.

  • Recent Status Updates

    • MayheM

      It would be nice to have a link to the forum thread of a mission in download section, rather than having to search for it manually, like on Thief Guild.
      · 0 replies
    • taffernicus

      Anaglypta , floral and damask wallpaper look great in older homes 
      It’s rare to see anyone using “shader not found” wallpaper in their house

       
      · 0 replies
    • Ansome

      Terribly difficult juggling map designing with work, but I'm still alive and chipping away at something very special. I'm actually making a collaboration of sorts with a friend, I make the map itself and he acts as my "Chief Scope Creep Consultant" that checks in every so often to make sure this project isn't getting out of hand. It's a good system!
      · 1 reply
    • JackFarmer

      We don't need artificial intelligence; we need artistic intelligence. 
      Ralf Hütter, Kraftwerk
      · 6 replies
    • taaaki

      The post editor for the dark themes should be working again. Apologies for the inconvenience.
      · 1 reply
×
×
  • Create New...