Hi, I've not used DBpro in quite some time, as I've got a new job which has focused my efforts on graphics and design. I'm creating a poster and decided that part of it would actually be best done in DBpro. I want to create a program that basically creates a bitmap and saves it. I want it to be able to be at the resolution that I need, but for some reason it's only outputting at 2048x2048, even though at this stage I only put in 1920x1080 as a test. Just wondering why it's not listening to me?
Type I
X As Integer
Y As Integer
EndType
Global I As I
I.X=1920
I.Y=1080
Create Bitmap 1,1920,1080
print "bitmap ",bitmap width(1),bitmap height(1)
Set Current Bitmap 1
Get image 1,0,0,Bitmap Width(1),Bitmap Height(1)
If File Exist("C:\Output.png")=1 Then Delete File "C:\Output.png"
Save Image "C:\Output.png",1