PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
38 stars 8 forks source link

Screenshot format and quality selection via menu #184

Closed kai-li-wop closed 1 year ago

kai-li-wop commented 1 year ago

It would be good to give the user control via the menu in which format a screenshot should be saved, as there are several to chose from. We should offer here a drop down option in Setup to select the desired screenshot format (PNG, JPG, TGA). This could be enhanced by a screenshot quality slider if JPEG format is selected.

Task to perform

kai-li-wop commented 1 year ago

Tested with OpenGL1 and OpenGL2 renderer. Vulkan is untested.

3aTmE commented 1 year ago

The format and quality selection via the menu for the screenshots works flawlessly!

I was able to take screenshots as .png .jpg and .tga !

Screenshot_20230226_110750

The Quality slider for .jpg also works fine! Size jpeg @ 100% : 710 kb

Size jpeg @ 60% (Lowest available on the slider) : 77,8 kb

The Screenshots were taken @ 800x600 resulotion.

Tested on :

Manjaro Linux 22.0.4

Build from most recent code @ 26.03.23

GFX : Radeon RX580 8GB

CPU : Ryzen 5 3600

RAM : 16GB @ 3000mhz

kai-li-wop commented 1 year ago

@3aTmE: Did you test with all 3 renderers? Please have a look and also check the menu tooltip. I tend to make errors there. ;)

3aTmE commented 1 year ago

@3aTmE: Did you test with all 3 renderers? Please have a look and also check the menu tooltip. I tend to make errors there. ;)

@kai-li-wop Works fine on opengl1.

Was able to take jpg, tga and png pictures as well. The quality slider for .jpg also works there.

Can't get the vulkan renderer to work. Can't also check it for the moment.

The tooltip itself seems fine. No obvious typos there and the functionality is explained well enough.

But take my words with an grain of salt since my English is not always "the yellow of the egg" ;)