
-----------------------------------
Naveg
Sun Mar 20, 2005 10:56 pm

Picture not showing
-----------------------------------
When i use Pic.Draw to draw a picture from a file, it cuts off the top part? why?

-----------------------------------
StarGateSG-1
Sun Mar 20, 2005 11:43 pm


-----------------------------------
You just need to fix the location of the picture.

-----------------------------------
Naveg
Sun Mar 20, 2005 11:44 pm


-----------------------------------
i dont think so, its fairly small and right in the middle of the window :O

-----------------------------------
StarGateSG-1
Sun Mar 20, 2005 11:46 pm


-----------------------------------
post the code then i look at it

-----------------------------------
Naveg
Sun Mar 20, 2005 11:46 pm


-----------------------------------
you need the pic that goes with it?

-----------------------------------
StarGateSG-1
Sun Mar 20, 2005 11:47 pm


-----------------------------------
sure , then i don't have to make one

-----------------------------------
Naveg
Sun Mar 20, 2005 11:48 pm


-----------------------------------
var suitName : string (1)
var deck : array 1 .. 4, 1 .. 13 of int %4 suits, 13 cards each
for suit : 1 .. 4
    if suit = 1 then
        suitName := "d" %diamonds
    elsif suit = 2 then
        suitName := "c" %clubs
    elsif suit = 3 then
        suitName := "h" %hearts
    elsif suit = 4 then
        suitName := "s" %spades
    end if
    for card : 1 .. 13
        deck (suit, card) := Pic.FileNew (suitName + intstr (card) + ".bmp")
    end for
end for
Pic.Draw (deck (2, 8), 200, 200, picCopy)

-----------------------------------
StarGateSG-1
Sun Mar 20, 2005 11:53 pm


-----------------------------------
It works fine on my computer sry guy
Maybe fool around with the location or maybe it is your screen size.

-----------------------------------
Naveg
Mon Mar 21, 2005 12:01 am


-----------------------------------
this is what i get

-----------------------------------
Token
Mon Mar 21, 2005 7:10 am


-----------------------------------
it looks like something with your computer, what version of turing are you using? and it looks like ur on a mac, i dont know if that would affect ne thing or not, maybe one of the mods would know better

-----------------------------------
Naveg
Mon Mar 21, 2005 7:26 am


-----------------------------------
4.0.5, not a mac, just a skinned PC

also, it works fine with JPG's , but they areny as clear images, so if anyone can tell me whats wrong with the bmp's i'd appreciate it.

-----------------------------------
StarGateSG-1
Mon Mar 21, 2005 11:53 am


-----------------------------------
hat problem is simple to fix, it is your computer, chnage to jpg's and it will work fine, or stick with bmp's because they only don't work on your computer, so everyone else will see them fine.
Hint: jpg's are only bad if you open and edit alot, IF YOU AREN'T THEN IT WILL BE FINE

-----------------------------------
Naveg
Mon Mar 21, 2005 1:51 pm


-----------------------------------
hat problem is simple to fix, it is your computer, chnage to jpg's and it will work fine, or stick with bmp's because they only don't work on your computer, so everyone else will see them fine.
Hint: jpg's are only bad if you open and edit alot, IF YOU AREN'T THEN IT WILL BE FINE

also didnt work on two other computers....

-----------------------------------
StarGateSG-1
Mon Mar 21, 2005 4:20 pm


-----------------------------------
Then maybe it is the OS what system??

-----------------------------------
Naveg
Mon Mar 21, 2005 4:21 pm


-----------------------------------
failed on XP, failed on 98

-----------------------------------
Token
Mon Mar 21, 2005 6:11 pm


-----------------------------------
umm i have xp, maybe its the version of turing? i have 4.0.5 and it worked, ne one else?

-----------------------------------
mike200015
Mon Mar 21, 2005 7:36 pm


-----------------------------------
yea same.. worked for me too

-----------------------------------
StarGateSG-1
Mon Mar 21, 2005 10:42 pm


-----------------------------------
I use XP and it works fine, what version of turing do you have??

-----------------------------------
Naveg
Mon Mar 21, 2005 11:07 pm


-----------------------------------
4.0.5

-----------------------------------
StarGateSG-1
Mon Mar 21, 2005 11:49 pm


-----------------------------------
I have no clue then, thier is olny one thing to do, but you must have a legal copy of turing, send in your problem to Holdsoft and they will look at it.

-----------------------------------
Mr. T
Wed Mar 23, 2005 1:10 am


-----------------------------------
only possible explanation i can think of is maybe you transfered a virus from one of your computers to the others...and this virus causes .bmps to malfunction  :?

run a virus scan  :?
