Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to load a background image and also put some small images on it. I have images which has same color as background image but when I load these small images I will see the corners of images. I want to load images in a such a way that it should look like as it is a part of background image.
Based on some conditions I am changing images and I want all these images should show as a part of it.
I am developing this application in C#. but if anybody knows ways to do it in C# or VC++ would be great.

Regds
Posted
Comments
[no name] 21-Aug-12 11:01am    
There is no "load images in a such a way that it should look like as it is a part of background image". Whatever it is that you are doing is going to depend on the images themselves, not how you are loading them.
Christian Amado 21-Aug-12 11:07am    
What about remove borders?
Zoltán Zörgő 21-Aug-12 11:31am    
You want that a specific color on the small images to be treated as transparent? What you mean by "corner", isn't it that you see a border?
fjdiewornncalwe 21-Aug-12 14:09pm    
As Christian noted: make sure your small images don't have borders. My two cents worth: Make sure that your images have transparency if required and that your image drawing code respects that.

1 solution

The problem is not with the method used. Make sure that you use .png images with transparent borders.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900