在Web应用程序中使用C#asp.net代码合并2个tiff图像 [英] Combine 2 tiff images using C# asp.net code in web application

查看:87
本文介绍了在Web应用程序中使用C#asp.net代码合并2个tiff图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

E:\ Current Work \ myDMS \ Documents \ image1.tiff
E:\ Current Work \ myDMS \ Documents \ image2.tiff

我有两个这样的tiff图片.我需要使用ASP .NET C#代码将它们合并为一个单独的tiff图像,例如E:\ Current Work \ myDMS \ Documents \ image.tiff.

如何将它们结合在一起.

提供一种简单的组合方法.

E:\Current Work\myDMS\Documents\image1.tiff
E:\Current Work\myDMS\Documents\image2.tiff

I have two tiff images like this. I need to combine them as a single tiff image as E:\Current Work\myDMS\Documents\image.tiff using ASP .net C# code.

How can I combine them together.

Provide a simple method for combining.

推荐答案

ASP.NET中没有用于处理图像的东西. ASP.NET与该任务无关. C#可以轻松做到这一点.您可以使用不透明度级别在另一个之上绘制一个,或创建更大的位图并排绘制.这些是琐碎的图像处理任务,已在Internet上广泛记录,并且易于从MSDN进行计算.我建议您尝试自己执行此操作,然后再次发布代码,以解释您要执行的操作,并告诉我们您遇到的困难,如果您无法在没有帮助的情况下无法完成这项基本任务.
There is nothing in ASP.NET to work with images. ASP.NET is irrelevant to the task. C# can do this, easily. You can use an opacity level to draw one on top of the other, or create a bigger bitmap and draw them side by side. These are trivial image processing tasks, widely documented on the internet, and easy to work out from MSDN. I suggest you try to do this yourself, and post again with code, an explanation of what you''re trying to do, and telling us where you got stuck, if you can''t manage this basic task without help.


这篇关于在Web应用程序中使用C#asp.net代码合并2个tiff图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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