
-----------------------------------
Andy_Bullock
Thu Oct 28, 2004 12:37 pm

How do take pics from a paint program to tourng??
-----------------------------------
How do take pics from a paint program to turng??

Thanx Andy ullock

-----------------------------------
Flea
Thu Oct 28, 2004 1:48 pm


-----------------------------------
No problem Andy!

First save your file as a .bmp or a .jpg.  Put it into the same folder as your program.

%to assign your pic to the variable:
(intVariableName) := Pic.FileNew ("image.jpg")

%to display your pic:
Pic.Draw (x, y, intVariableName, picCopy)

Then when you're done using your picture, you might wanna "free"  it to save memory by using Pic.Free.  It's not needed but it's a good thing to do, especially for big programs.
