Importing Pics
Author |
Message |
siegs
|
Posted: Wed Jun 04, 2003 6:49 pm Post subject: Importing Pics |
|
|
How do i import .bmp files into a program? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
AsianSensation
|
Posted: Wed Jun 04, 2003 6:55 pm Post subject: (No subject) |
|
|
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
|
Posted: Wed Jun 04, 2003 7:05 pm Post subject: (No subject) |
|
|
thanx |
|
|
|
|
|
siegs
|
Posted: Wed Jun 04, 2003 7:17 pm Post subject: (No subject) |
|
|
i tried that, but it says "general protection (segmentation) fault" and wont run |
|
|
|
|
|
Andy
|
Posted: Wed Jun 04, 2003 7:26 pm Post subject: (No subject) |
|
|
open up a turing editor, type Pic.FileNew and press F9, the turing help menue will show up and there'll be examples |
|
|
|
|
|
krishon
|
Posted: Wed Jun 04, 2003 7:41 pm Post subject: (No subject) |
|
|
u could just use pic.copy...i've tried it, its the easiest way |
|
|
|
|
|
Mephi
|
Posted: Wed Jun 04, 2003 8:17 pm Post subject: (No subject) |
|
|
its like this:
code: |
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 |
|
|
|
|
|
|
|