Author Topic: Screenshot output format  (Read 1874 times)

0 Members and 1 Guest are viewing this topic.

Screenshot output format
Is there a way to make FSO save screenshots in a different format like PNG or JPG? Having to convert them from TGA is a hassle.

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Screenshot output format
Well, it's probably possible to get them converted to png on the fly (libpng has to be good for something after all)....
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Re: Screenshot output format
High compression levels may be impractical for "real time" use though? But if you don't use high compression levels.. well, what's the gain to using TGA.

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Screenshot output format
Well, that's the tradeoff, isn't it? Either you get the screenshots instantly, or you have to wait for a few cycles to get them compressed.

And since I do believe that noone really wants jpg-compressed screenies, png is the only game in town.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Screenshot output format
I'd suggest waiting a bit until libpng support is a little more mature.  We did just add it after all.  We should probably get support for 1.4.x first.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Re: Screenshot output format
And since I do believe that noone really wants jpg-compressed screenies, png is the only game in town.
Yea, most people would probably prefer png. Personally I'd rather take tga (default) and jpg (cmd line option). Many nice looking screenshots have gradients and stuff painful for png to compress (and the not so nice looking shots.. well a few artifacts won't make them much worse).

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Screenshot output format
Yes, well, if it was me? I'd take just png and let people worry about converting that to jpg as needed. 

Besides, it's not like it takes _that_ much time to compress...
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Screenshot output format
The important thing really is having the least latency, between compressing the data and actually dumping it to the hard drive.  Obviously no compression is lowest on the CPU but the larger file will take longer to write.  So, if png is quicker to compress and still as small as tga, it's a better choice.  If there's a tradeoff we'll have to figure out which one is best.  I don't even think we have bmp support in the engine so that's probably not up for consideration.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

  

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Screenshot output format
You also have to take into account even small latency can cause issues with multiplayer so it's always best to error on the side of speed.  Files can be converted to other formats easy enough. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras