Computer Science Canada white space in pictures |
Author: | kythoon [ Sun May 11, 2003 10:38 am ] |
Post subject: | white space in pictures |
is there any way to get rid of the white background a of a picture. Right now, if i draw it on a screen with a background and the picture moves over a dark spot, you can see the white edges covering it up. can u get rid of that? i'm going to feel really retarded if this is simple or if it is posted already |
Author: | Asok [ Sun May 11, 2003 10:55 am ] |
Post subject: | |
use PicMerge in your Pic.Draw. White will be transparent. |
Author: | kythoon [ Sun May 11, 2003 11:16 am ] |
Post subject: | |
on which the background or the picture thanks |
Author: | Blade [ Sun May 11, 2003 11:24 am ] |
Post subject: | |
on the whole picture.. |
Author: | kythoon [ Sun May 11, 2003 11:38 am ] |
Post subject: | |
i just tried it doesn't work no matter where i put it ... Pic.Draw (backgroundPic, -backgroundX, -backgroundY, picCopy) Pic.Draw (finalClassPic, finalClassPicX - backgroundX, finalClassPicY - backgroundY, picMerge) ... i first draw background with picCopy, then the character with picMerge, doesn't work |
Author: | Tony [ Sun May 11, 2003 11:47 am ] |
Post subject: | |
for picMerge to work, it gets rid of true white (255,255,255) making it transparent. So say if you have a light grey in there, it wouldn't work. You might have to edit your pictures. BTW, the easiest way to test for transparency is drawing over black background |
Author: | kythoon [ Sun May 11, 2003 12:10 pm ] |
Post subject: | |
your right, it wasn't true white, but it sure looked like it |