Computer Science Canada

importing a picture with transparency...

Author:  atrain [ 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??

Author:  zylum [ Wed Feb 23, 2005 9:48 pm ]
Post subject: 

by transparency, do you mean one of the colours is transparent or the whole image has a certain alpha value? ie 50% transparent

Author:  cycro1234 [ Wed Feb 23, 2005 10:42 pm ]
Post 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.

Author:  atrain [ Thu Feb 24, 2005 1:55 pm ]
Post subject: 

thats what i need ^^... Thanx...


Im running turing on linux, so i dont have windows help. aka: cant look up these things...

Author:  cycro1234 [ Thu Feb 24, 2005 4:00 pm ]
Post subject: 

NP Smile And if u need nething else, just ask.

Author:  atrain [ Thu Feb 24, 2005 10:22 pm ]
Post 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....

Author:  atrain [ Thu Feb 24, 2005 10:27 pm ]
Post 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)

Author:  ssr [ Thu Feb 24, 2005 10:27 pm ]
Post subject: 

If thats all u r doing why not just use
code:
Pic.Merge
Question 8)

Author:  Bacchus [ Fri Feb 25, 2005 6:56 am ]
Post subject: 

ya in an above post they Cycro mentionded that, i guess Atrain just missed that part

Author:  atrain [ Sun Feb 27, 2005 1:59 am ]
Post subject: 

i dont have turing help, couse im on linux...

thanx, ill try and use that!!!

Author:  atrain [ Sun Feb 27, 2005 2:01 am ]
Post subject: 

almost worked, but it only changed part of it 2 blue...

Author:  Flikerator [ Sun Feb 27, 2005 8:39 am ]
Post subject: 

What program can I use to give my pictures transparency? Kinda off topic but still relative.

Author:  mike200015 [ Sun Feb 27, 2005 11:24 am ]
Post subject: 

u could use photoshop.. if thats wat u mean by wat program can u use to do that

Author:  Flikerator [ Sun Feb 27, 2005 11:30 am ]
Post 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 Sad

Author:  mike200015 [ Sun Feb 27, 2005 11:35 am ]
Post subject: 

Sad that sux.. if u want to.. u could always download it.. lol.. not that i recommend that or nething Wink Razz

Author:  jamonathin [ Sun Feb 27, 2005 7:21 pm ]
Post subject: 

paint is the Pw/\/zEr

Author:  ssr [ Sun Feb 27, 2005 7:50 pm ]
Post subject: 

lol photoshop is the best
soooooooooooooooooo powerful
but paint ummm
do some small things with it

Author:  Flikerator [ Mon Feb 28, 2005 4:42 pm ]
Post subject: 

Im going to get all my pics read then download a trial of some program and do all the transparency for them at once. That will be a lot simpler. Or just ask the Ville to use his chars (He offers open source for Notrium.. and I know him so Razz)

Does GIMP have transparency? I heard its good...

Author:  Tony [ Mon Feb 28, 2005 4:47 pm ]
Post subject: 

GIMP is nearly as good as Photoshop. Though it has a different feel to it...

Author:  Flikerator [ Mon Feb 28, 2005 4:49 pm ]
Post subject: 

tony wrote:
GIMP is nearly as good as Photoshop. Though it has a different feel to it...


Oh thats good because I was told it was free, or it had a one month trial Razz

Isn't mostly for 3d though?

Author:  _ [ Mon Mar 14, 2005 9:58 am ]
Post subject: 

omg, you think paint is good? paint is shit, you can't do anything on it, word is better at graphics than paint... my advice.. get photoshop.. it's the best there is out there, and it's free...

Author:  atrain [ Fri Mar 18, 2005 12:44 am ]
Post subject: 

gimp is open source - 100% free

Transparency in turing is just selecting one color in the picture to act as trasparent...

this is not REAL transparency like a gif or anything...

So paint would be fine for this.. (i still use gimp)

Author:  McKenzie [ Fri Mar 18, 2005 1:16 am ]
Post subject: 

I beg to differ but this is the same way transparency is handled in C++. If you don't see it then I think it's transparent.

Author:  [Gandalf] [ Fri Mar 18, 2005 4:43 pm ]
Post subject: 

Quote:
photoshop.. it's the best there is out there, and it's free...

eh?

If you are looking for a good picture editing program, which isn't photoshop I am disgusted then you should 'get' paint shop pro.

With trial programs, what I find usually works is uninstalling it, clearing the entries in your registry, and installing it again Smile




*edit* someone has to fix this annoying bug with [/quote] showing up at the end of your post everytime, even when you already closed the [quote]..

Author:  Mr. T [ Fri Mar 18, 2005 10:48 pm ]
Post subject: 

download Gimp ... its basically PhotoShop but free.

Author:  [Gandalf] [ Sat Mar 19, 2005 4:49 pm ]
Post subject: 

Isn't GIMP just for Linux, or am I getting mixed up? I'll look into it.

Author:  Mr. T [ Mon Mar 21, 2005 12:34 am ]
Post subject: 

no i have gimp, and im using windows Rolling Eyes

Author:  Mazer [ Mon Mar 21, 2005 9:56 am ]
Post subject: 

Gimp is the GNU Image Manipulation Program. It's open source, which translates to free (in multiple ways). Despite what some would like to believe, it is not like a free version of Photoshop.

It has many great features, you can do many things with GIMP, but there's still quite a bit it doesn't have that Photoshop does. It comes down to this:
If you're willing to pirate Photoshop, you're better off with GIMP. Most likely, a professional graphics artist would know the differences between the two programs, and would know if they needed Photoshop. And since they are professional, they'd know Photoshop is worth the price.
If you need graphics for a highschool computer science project you're making, professional image editing is a bit overkill. GIMP should suit you just fine.

And yes, it works on Windows.


: