Author |
Message |
atrain
|
Posted: Wed Feb 23, 2005 9:30 pm Post subject: importing a picture with transparency... |
|
|
is it posible to import a picture with transparency..., and can i mirror it and keep the transparency?? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
zylum
|
Posted: Wed Feb 23, 2005 9:48 pm Post subject: (No subject) |
|
|
by transparency, do you mean one of the colours is transparent or the whole image has a certain alpha value? ie 50% transparent |
|
|
|
|
|
cycro1234
|
Posted: Wed Feb 23, 2005 10:42 pm Post subject: (No subject) |
|
|
Turing has the command Pic.SetTransparentColour
The Pic.SetTransparentColor procedure sets the color in the picture that should be considered transparent when the picture is drawn using the picMerge or picUnderMerge modes. If no color is specified, then the default background color (colorbg, usually white) is used as the transparent color. |
|
|
|
|
|
atrain
|
Posted: Thu Feb 24, 2005 1:55 pm Post subject: (No subject) |
|
|
thats what i need ^^... Thanx...
Im running turing on linux, so i dont have windows help. aka: cant look up these things... |
|
|
|
|
|
cycro1234
|
Posted: Thu Feb 24, 2005 4:00 pm Post subject: (No subject) |
|
|
NP And if u need nething else, just ask. |
|
|
|
|
|
atrain
|
Posted: Thu Feb 24, 2005 10:22 pm Post subject: (No subject) |
|
|
nope... still doesnt work
i used "put View.WhatColor(x,y)"
Im inporting a picture of a car, and i want to remove the white background...
i did
Pic.SetTransparentColour (car,0)
but i still get a border on the car.... |
|
|
|
|
|
atrain
|
Posted: Thu Feb 24, 2005 10:27 pm Post subject: (No subject) |
|
|
This SHOULD make the car have a white background...
code: |
Pic.ScreenLoad ("Turing/picture.jpg", 0, 0, picCopy)
var car :int
car := Pic.New (0, 0, 240, 99)
Pic.SetTransparentColour (car, 0)
colorback (1)
cls
Pic.SetTransparentColour (car, 0)
Pic.Draw (car, 0, 0, picCopy) |
|
|
|
|
|
|
ssr
|
Posted: Thu Feb 24, 2005 10:27 pm Post subject: (No subject) |
|
|
If thats all u r doing why not just use 8) |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Bacchus
|
Posted: Fri Feb 25, 2005 6:56 am Post subject: (No subject) |
|
|
ya in an above post they Cycro mentionded that, i guess Atrain just missed that part |
|
|
|
|
|
atrain
|
Posted: Sun Feb 27, 2005 1:59 am Post subject: (No subject) |
|
|
i dont have turing help, couse im on linux...
thanx, ill try and use that!!! |
|
|
|
|
|
atrain
|
Posted: Sun Feb 27, 2005 2:01 am Post subject: (No subject) |
|
|
almost worked, but it only changed part of it 2 blue... |
|
|
|
|
|
Flikerator
|
Posted: Sun Feb 27, 2005 8:39 am Post subject: (No subject) |
|
|
What program can I use to give my pictures transparency? Kinda off topic but still relative. |
|
|
|
|
|
mike200015
|
Posted: Sun Feb 27, 2005 11:24 am Post subject: (No subject) |
|
|
u could use photoshop.. if thats wat u mean by wat program can u use to do that |
|
|
|
|
|
Flikerator
|
Posted: Sun Feb 27, 2005 11:30 am Post subject: (No subject) |
|
|
mike200015 wrote: u could use photoshop.. if thats wat u mean by wat program can u use to do that
Yah thats what I mean. I used up my one month free of photoshop |
|
|
|
|
|
mike200015
|
Posted: Sun Feb 27, 2005 11:35 am Post subject: (No subject) |
|
|
that sux.. if u want to.. u could always download it.. lol.. not that i recommend that or nething |
|
|
|
|
|
|