
-----------------------------------
siegs
Wed Jun 04, 2003 6:49 pm

Importing Pics
-----------------------------------
How do i import .bmp files into a program?

-----------------------------------
AsianSensation
Wed Jun 04, 2003 6:55 pm


-----------------------------------
I think there is a tutorial on this in the tutorial section, go look it up.

btw, the function is Pic.FileNew and Pic.Draw

-----------------------------------
siegs
Wed Jun 04, 2003 7:05 pm


-----------------------------------
thanx

-----------------------------------
siegs
Wed Jun 04, 2003 7:17 pm


-----------------------------------
i tried that, but it says "general protection (segmentation) fault" and wont run

-----------------------------------
Andy
Wed Jun 04, 2003 7:26 pm


-----------------------------------
open up a turing editor, type Pic.FileNew and press F9, the turing help menue will show up and there'll be examples

-----------------------------------
krishon
Wed Jun 04, 2003 7:41 pm


-----------------------------------
u could just use pic.copy...i've tried it, its the easiest way

-----------------------------------
Mephi
Wed Jun 04, 2003 8:17 pm


-----------------------------------
its like this:

var pic : int := Pic.FileNew ("blah.bmp")
Pic.Draw (pic, xcoord, ycoord, picCopy)


theres also other stuff to put in place of the 'picCopy', its in a tutorial
