Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Save image command: unwanted changes in the output resolution

Author
Message
Quel
17
Years of Service
User Offline
Joined: 13th Mar 2009
Location:
Posted: 30th Jan 2011 16:13
I use this little piece for saving out a screenshot, so testers can send these to me to show what was the exact error they experienced in my game.

The only strange problem with this is that it will only save like 2048x1024 instead of the screen size which is in my case is a laptop resolution of 1280x800.

I tested many resolutions to be saved, and it always found the closest 128x128 , 64x64 , etc like pair of numbers as the X & Y dimensions.

Why is it like that, and how can i get around it with native commands?


Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 30th Jan 2011 17:15
You need to add a '1' parameter to the end of GET IMAGE otherwise it'll grab it in the most appropriate format for a texture.
Quel
17
Years of Service
User Offline
Joined: 13th Mar 2009
Location:
Posted: 30th Jan 2011 18:41
Yay thank you

Login to post a reply

Server time is: 2026-07-18 02:38:13
Your offset time is: 2026-07-18 02:38:13