I was trying now to set width x height to 200x100 and 604x480. First it created a picutre on 256x128 and second time it was 1024x512.
I dont understand this... because Im taking the picture and then saving it at once. After that I destroy it. I dont say to it that it has to use it as a texture.
But.... if I convert the sub to DarkEngine
Dim ScreenShot As New DarkImage(0, 0, DarkDisplay.ScreenWidth, DarkDisplay.ScreenHeight, 1)
ScreenShot.Save("Screens\ScreenCapture_" & fixString(Now.ToString) & ".jpg")
ScreenShot.Delete()
I have in the DarkImage constructor option to set Textureflag. When that is 1 then it saves in the right size....
uhmm... I love DarkEngine
Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://yourmmo.wikispaces.com/