3 registered members (Joey, flink, AndrewAMD),
1,226
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
problem with screenshots
#411790
11/19/12 21:27
11/19/12 21:27
|
Joined: Jul 2011
Posts: 69
pjotr987
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2011
Posts: 69
|
hi guys, may be i do something wrong, but i observed, that if use the following functions to save a screen shot i get saved a squeezed picture in x achsis. bmap_for_screen (screen_shot_map, 0, 1); bmap_save(screen_shot_map,"xyz.png"); the saved pic loks compresed in x achsis. circles become ovals. sory for mistaks just drank too much wine ![wink wink](/ubb7/images/graemlins/default_dark/wink.gif)
|
|
|
Re: problem with screenshots
[Re: pjotr987]
#411791
11/19/12 21:34
11/19/12 21:34
|
Joined: Jul 2008
Posts: 2,107 Germany
rayp
![](/ubb7/images/groups/mod.gif) ![](/ubb7/images/groups/mod.gif)
X
|
![](/ubb7/images/groups/mod.gif) ![](/ubb7/images/groups/mod.gif)
X
Joined: Jul 2008
Posts: 2,107
Germany
|
wait(1) in between? Dont know or try this file_for_screen (STRING* filename,var number); Edit: Third edit cause of wlan disconnection.
Last edited by rayp; 11/19/12 21:58.
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
|
|
|
Re: problem with screenshots
[Re: rayp]
#411793
11/19/12 21:56
11/19/12 21:56
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
yes, as rayp suggested: file_for_screen (STRING* filename,var number); is here right.
use -1 as number to write the file name only. also the screenshot gets taken one frame after the function call
POTATO-MAN saves the day! - Random
|
|
|
Re: problem with screenshots
[Re: pjotr987]
#411797
11/19/12 22:20
11/19/12 22:20
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
DirectX is used for saving the image; therefore some restrictions apply. The jpg quality can not be adjusted and the jpg image size must be a multiple of 8. The bmp format can only be read back by bmap_load; it is saved in an unusual 32 bit format and thus can not be used for BMAP definitions or for textures.
POTATO-MAN saves the day! - Random
|
|
|
|