| white space in pictures 
 
	 
	
		| Author | Message |   
		| kythoon 
 
 
 
 
 | 
			
				|  Posted: 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
  |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| Sponsor Sponsor
 
  
   |  |   
		|  |   
		| Asok 
 
  
 
 
 | 
			
				|  Posted: Sun May 11, 2003 10:55 am    Post subject: (No subject) |  |   
				| 
 |  
				| use PicMerge in your Pic.Draw. White will be transparent. |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| kythoon 
 
 
 
 
 | 
			
				|  Posted: Sun May 11, 2003 11:16 am    Post subject: (No subject) |  |   
				| 
 |  
				| on which the background or the picture 
 
 thanks
 |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| Blade 
 
 
 
 
 | 
			
				|  Posted: Sun May 11, 2003 11:24 am    Post subject: (No subject) |  |   
				| 
 |  
				| on the whole picture.. |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| kythoon 
 
 
 
 
 | 
			
				|  Posted: Sun May 11, 2003 11:38 am    Post subject: (No 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
  |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| Tony 
 
  
 
 
 | 
			
				|  Posted: Sun May 11, 2003 11:47 am    Post subject: (No 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
  |  
				|  Tony's programming blog. DWITE - a programming contest. |  |   
		|  |  |  
	  
		|  |   
		| kythoon 
 
 
 
 
 | 
			
				|  Posted: Sun May 11, 2003 12:10 pm    Post subject: (No subject) |  |   
				| 
 |  
				| your right, it wasn't true white, but it sure looked like it |  
				|  |  |   
		|  |  |  
	  
		|  |   
		|  |  
 |