Click here to Skip to main content
13,094,411 members (56,185 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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.

Posted 21-Aug-12 4:56am
Wes Aday 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?
Marcus Kramer 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 22 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100