Computer Science Canada

Importing Pics

Author:  siegs [ Wed Jun 04, 2003 6:49 pm ]
Post subject:  Importing Pics

How do i import .bmp files into a program?

Author:  AsianSensation [ Wed Jun 04, 2003 6:55 pm ]
Post 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

Author:  siegs [ Wed Jun 04, 2003 7:05 pm ]
Post subject: 

thanx

Author:  siegs [ Wed Jun 04, 2003 7:17 pm ]
Post subject: 

i tried that, but it says "general protection (segmentation) fault" and wont run

Author:  Andy [ Wed Jun 04, 2003 7:26 pm ]
Post subject: 

open up a turing editor, type Pic.FileNew and press F9, the turing help menue will show up and there'll be examples

Author:  krishon [ Wed Jun 04, 2003 7:41 pm ]
Post subject: 

u could just use pic.copy...i've tried it, its the easiest way

Author:  Mephi [ Wed Jun 04, 2003 8:17 pm ]
Post 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


: