Zechevalier
Member
When using screen_save_part() the outcome has a smaller width and height than the size i wanted.
this is what my code looks like
If I change my code to just take the screenshot from (0,0) then the size is consistent, but if I have it take the screenshot from the position i want, then the sizes come out inconsistent and seemingly random.
in this picture I set the coordinates to (0,0) and the image dimensions came out correct (936x594)
But as you can see:
As soon as i change the coordinates to take from where I want it, it shrinks the image to 560x352
I've been fiddling with this for almost 2 hours now, Does anyone know what's going on?
this is what my code looks like
Code:
var_x_save = (obj_Leo.x-view_xview)*global.var_screen_xscale+global.var_surface_x-(var_pic_w*0.3)
var_y_save = (obj_Leo.y-view_yview)*global.var_screen_yscale+global.var_surface_y-(var_pic_h/2.5)
var_pic_w = 936
var_pic_h = 594
screen_save_part(string(var_pic_name), var_x_save, var_y_save, var_pic_w, var_pic_h)
in this picture I set the coordinates to (0,0) and the image dimensions came out correct (936x594)
But as you can see:
As soon as i change the coordinates to take from where I want it, it shrinks the image to 560x352
I've been fiddling with this for almost 2 hours now, Does anyone know what's going on?