Screenshot script

 From:  Michael Gibson
5523.6 In reply to 5523.3 
Hi DesuDeus,

> Is it possible to capture exactly the same ratio than what you see in the viewport ? This script
> is based on a fixed X and Y pixel dimension and depending on how you resize your MoI app
> it's not perfect
>
> Like if my viewport is 1200px by 600px I'd like to capture that size but two time the resolution
> (2400px by 1200px) or three time the resolution

Currently there's no way to do this because there isn't any method set up for a script to obtain the pixel width and height of the viewport.

But I've added viewport.pixelWidth and viewport.pixelheight properties in for the next v3 beta to make that possible then.

- Michael