It's known you can take a screenshot of a particular blender window using something like this bpy.ops.screen.screenshot( filepath=filepath, check_existing=False)
But how can I take a screenshot of a higher resolution? For example how can I get a non pixelated screenshot of the 3D viewport (assuming there are no textures), in 1920/1080 resolution? Is there some kind of option for this?
Blender python 2.79 or 2.8 is fine, I just want to know how to do this