如何使用背景图片处理图片 [英] How to handle image with background image

查看:91
本文介绍了如何使用背景图片处理图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试加载背景图像,并在上面放一些小图像.我有与背景图像颜色相同的图像,但是当我加载这些小图像时,我会看到图像的角落.我想以某种方式加载图像,使其看起来像是背景图像的一部分.
根据某些条件,我正在更改图像,我希望所有这些图像都应作为其中一部分显示.
我正在用C#开发此应用程序.但是如果有人知道用C#或VC ++做到这一点,那就太好了.

Regds

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

推荐答案

问题不在于所使用的方法.确保使用带有透明边框的.png图像.
The problem is not with the method used. Make sure that you use .png images with transparent borders.


这篇关于如何使用背景图片处理图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆