Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/325.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在c语言中组合两个图像#_C#_Image Processing_Image Manipulation - Fatal编程技术网

C# 在c语言中组合两个图像#

C# 在c语言中组合两个图像#,c#,image-processing,image-manipulation,C#,Image Processing,Image Manipulation,我想通过组合两个图像来创建一个图像,以便使用c#code将第一个图像设置为第二个图像的边框。请在上查看这篇文章 只需将其更改为处理两个图像,并操纵偏移量,使其中一个与另一个相邻。免责声明:我在Atalasoft工作 我们(这是免费的)可以做到这一点 加载图像 AtalaImage img = new AtalaImage("file.jpg"); 加载边框(假设它在中间有转接器,大小相同) 保存最终图像 borderedImg.Save("final.jpg", new JpegEncoder

我想通过组合两个图像来创建一个图像,以便使用c#code将第一个图像设置为第二个图像的边框。

请在上查看这篇文章


只需将其更改为处理两个图像,并操纵偏移量,使其中一个与另一个相邻。

免责声明:我在Atalasoft工作

我们(这是免费的)可以做到这一点

加载图像

AtalaImage img = new AtalaImage("file.jpg");

加载边框(假设它在中间有转接器,大小相同)

保存最终图像

borderedImg.Save("final.jpg", new JpegEncoder(), null);

你真的需要在这个问题上添加更多的细节,以展示你知道如何做,在哪里需要帮助,你已经尝试过了。你看,我已经从你的问题中删除了多余的信息。我有两张像。。img1.jpg和img2.gif。所以我想将img2.gif设置为img1.jpg的边框。img1.gif的内部是透明的。
borderedImg.Save("final.jpg", new JpegEncoder(), null);