[Tutorials] Pictures/Images
Author |
Message |
Tony
|
Posted: Wed Mar 05, 2003 8:57 pm Post subject: (No subject) |
|
|
canada is a large North American nation located between Greenland and Alaska, most of which is above sea-level. Its the place where bombs will land once US anti-missile defence initiative takes place.
We dont have any candy, but I can offer you some sweets if you'd like
Alright... in case some smartass will start lecturing me on proper use of english and difference between its variations, I'll admit that we dont have any sweets ether... British do But we do import candy from US so feel free to treat yourself |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Sponsor Sponsor
|
|
|
Vicous
|
Posted: Thu Mar 06, 2003 7:49 pm Post subject: Im canadian too! |
|
|
I'm canadian too, I was just joking as he posted that the "candian" (notice Candian, not Canadian) spelling of colour works too.
mmmmmmmmmm, candy |
|
|
|
|
|
Tony
|
Posted: Thu Mar 06, 2003 8:12 pm Post subject: (No subject) |
|
|
this is getting way off topic, but hey, what can I do?
if you start talking to dan, you can soon figure that he doesnt need to encript any of his documents cuz noone would be able to read them anyway |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Dan
|
Posted: Thu Mar 06, 2003 9:48 pm Post subject: (No subject) |
|
|
hell ya, and thats the way i like it (cuts down on cost of enrption software). also stops poleop form using find on my computer to find any of my docments . |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
haujobb
|
Posted: Mon Mar 24, 2003 9:39 pm Post subject: (No subject) |
|
|
I'm having trouble with these commands I'm using:
var title : int := Pic.FileNew ("a:\title.pcx")
and:
Pic.Draw (title, 300, 300, 0)
and I get the error:
Illegal pic identifier
Does anyone know what that means, and can poeple hurry, I don't mean to be demanding but I'm on a tight schedule and I can't do much more until this damn thing works... |
|
|
|
|
|
Tony
|
Posted: Mon Mar 24, 2003 9:44 pm Post subject: (No subject) |
|
|
well although Dan said that file type is supported, I've never seem it before so I sujest using something we KNOW works. .bmp and .jpeg
or maybe it just cant find the file since its on an a:\ drive? such as floppy is missing... (why would you put image file on a floppy!?).
Illigal pic ID basically means you didnt load the file. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Delta
|
Posted: Tue Mar 25, 2003 2:35 pm Post subject: PCX hahahaha...(cough) |
|
|
I remember PCX files but that was back in the day when I downloaded the DOS version of Turing. But you're a lot better off just sticking to BMP and JPG files. |
|
|
|
|
|
¿§¥Jåmës¥§¿
|
Posted: Sat Aug 23, 2003 7:24 pm Post subject: (No subject) |
|
|
How do you make the pic fill the whole screen like a back ground?
Canada rocks!!!!!! |
|
|
|
|
|
Sponsor Sponsor
|
|
|
krishon
|
Posted: Sat Aug 23, 2003 9:29 pm Post subject: (No subject) |
|
|
i think it should be in the help files...i dunno...haven't touched turing in a while...and i mean a while, lol...its been all c++ |
|
|
|
|
|
¿§¥Jåmës¥§¿
|
Posted: Sun Aug 24, 2003 10:26 am Post subject: (No subject) |
|
|
It just might be somewhere in the help files but I have no clue how to find ot can someone please help!!! |
|
|
|
|
|
Tony
|
Posted: Sun Aug 24, 2003 7:27 pm Post subject: (No subject) |
|
|
code: |
for y:1..maxy step pic.height(picID)
for x:1..maxx step pic.width(picID)
pic.draw(picID,x,y)
end for
end for
|
something like above.. standart grid filling algorithm.
Note: not actual turing code, might need to use proper syntax instead |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
AsianSensation
|
Posted: Sun Aug 24, 2003 9:39 pm Post subject: (No subject) |
|
|
¿§¥Jåmës¥§¿ wrote: How do you make the pic fill the whole screen like a back ground?
Pic.Scale can do that.
newpicID := Pic.Scale (picID, maxx, maxy)
that would stretch a picture to fill the entire run window.
or ...
You can customize the picture before hand. Like use some editing tools, like Paint Shop Pro, and edit it, and then call up the image. |
|
|
|
|
|
¿§¥Jåmës¥§¿
|
Posted: Sun Aug 24, 2003 9:44 pm Post subject: thanx |
|
|
Thanx alot that'll really help |
|
|
|
|
|
air_force91
|
Posted: Sun Jan 04, 2004 12:11 pm Post subject: i can't view the pic |
|
|
u know how i need to enter (mypic, maxx div 2, maxy div 2, 0)
well...the "0" at the end's creating a problem...this is what im getting: Illegal picture ID '0'. (Probable cause: Picture was not successfully created)... |
|
|
|
|
|
Tony
|
Posted: Sun Jan 04, 2004 7:21 pm Post subject: (No subject) |
|
|
no... the 0 is the value of picCopy mode.
the problem is your picture ID, which is "mypic" variable |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
|
|