Post
by Karol » 28 Jul 2014, 10:04
Hi Florian!
Are you confused by the fact, that your snapshot is sometimes smaller than the specified 'width' and 'height'?
This happens because the snapshot image is not scaled up.
So if your Renderer has an output size of 1024x768 and you call Snapshot(0, ImageFormat.PNG, 1920, 1080, Nothing, Nothing, Nothing, Nothing, Filter.High, True, yop)
you will get an image of size 1024x768.
If your Renderer has an output size of 1920x1080 and you call Snapshot(0, ImageFormat.PNG, 1920, 1080, 0, 0, 960, 540, Filter.High, True, yop)
you will get an image of size 960x540.
Is this your problem?
Cheers
Karol