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.

  • Recent Status Updates

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 5 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...