Author |
Message |
Naveg
|
Posted: Sun Mar 20, 2005 10:56 pm Post subject: Picture not showing |
|
|
When i use Pic.Draw to draw a picture from a file, it cuts off the top part? why?
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
StarGateSG-1
![](http://img61.imageshack.us/img61/4417/jesushulk2sq.gif)
|
Posted: Sun Mar 20, 2005 11:43 pm Post subject: (No subject) |
|
|
You just need to fix the location of the picture.
|
|
|
|
|
![](images/spacer.gif) |
Naveg
|
Posted: Sun Mar 20, 2005 11:44 pm Post subject: (No subject) |
|
|
i dont think so, its fairly small and right in the middle of the window :O
|
|
|
|
|
![](images/spacer.gif) |
StarGateSG-1
![](http://img61.imageshack.us/img61/4417/jesushulk2sq.gif)
|
Posted: Sun Mar 20, 2005 11:46 pm Post subject: (No subject) |
|
|
post the code then i look at it
|
|
|
|
|
![](images/spacer.gif) |
Naveg
|
Posted: Sun Mar 20, 2005 11:46 pm Post subject: (No subject) |
|
|
you need the pic that goes with it?
|
|
|
|
|
![](images/spacer.gif) |
StarGateSG-1
![](http://img61.imageshack.us/img61/4417/jesushulk2sq.gif)
|
Posted: Sun Mar 20, 2005 11:47 pm Post subject: (No subject) |
|
|
sure , then i don't have to make one
|
|
|
|
|
![](images/spacer.gif) |
Naveg
|
Posted: Sun Mar 20, 2005 11:48 pm Post subject: (No subject) |
|
|
code: | 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) |
Description: |
|
Filesize: |
7.8 KB |
Viewed: |
2492 Time(s) |
![c8.bmp c8.bmp](uploads/attachments/c8.bmp)
|
|
|
|
|
|
![](images/spacer.gif) |
StarGateSG-1
![](http://img61.imageshack.us/img61/4417/jesushulk2sq.gif)
|
Posted: Sun Mar 20, 2005 11:53 pm Post subject: (No subject) |
|
|
It works fine on my computer sry guy
Maybe fool around with the location or maybe it is your screen size.
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Naveg
|
Posted: Mon Mar 21, 2005 12:01 am Post subject: (No subject) |
|
|
this is what i get
Description: |
|
Filesize: |
89.65 KB |
Viewed: |
2489 Time(s) |
![look.gif look.gif](uploads/attachments/look.gif)
|
|
|
|
|
|
![](images/spacer.gif) |
Token
![](http://server2.uploadit.org/files/token89-avatar1.jpg)
|
Posted: Mon Mar 21, 2005 7:10 am Post subject: (No subject) |
|
|
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
|
|
|
|
|
![](images/spacer.gif) |
Naveg
|
Posted: Mon Mar 21, 2005 7:26 am Post subject: (No subject) |
|
|
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.
|
|
|
|
|
![](images/spacer.gif) |
StarGateSG-1
![](http://img61.imageshack.us/img61/4417/jesushulk2sq.gif)
|
Posted: Mon Mar 21, 2005 11:53 am Post subject: (No subject) |
|
|
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
|
|
|
|
|
![](images/spacer.gif) |
Naveg
|
Posted: Mon Mar 21, 2005 1:51 pm Post subject: (No subject) |
|
|
StarGateSG-1 wrote: 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....
|
|
|
|
|
![](images/spacer.gif) |
StarGateSG-1
![](http://img61.imageshack.us/img61/4417/jesushulk2sq.gif)
|
Posted: Mon Mar 21, 2005 4:20 pm Post subject: (No subject) |
|
|
Then maybe it is the OS what system??
|
|
|
|
|
![](images/spacer.gif) |
Naveg
|
Posted: Mon Mar 21, 2005 4:21 pm Post subject: (No subject) |
|
|
failed on XP, failed on 98
|
|
|
|
|
![](images/spacer.gif) |
|