C#结合了大量图像 - WPF Imaging类 [英] C# combine lots of images - WPF Imaging classes

查看:100
本文介绍了C#结合了大量图像 - WPF Imaging类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我将很多瓷砖组合成一个大图像。 Folloging this guide: http://www.switchonthecode.com/tutorials/combining-images -with-csharp 它运行正常,但是如果最终图像的大小不是太大(否则我得到参数无效。错误)..所以谷歌搜索我读了我最好使用WPF成像课程,但我找不到办法...

Hello i'm combining lots of tiles into one big image. Folloging this guide: http://www.switchonthecode.com/tutorials/combining-images-with-csharp it works fine but just if the size of the final image isn't too big (otherwise I get "Parameter is not valid." error).. So googling I read I'd better use WPF Imaging classes, but I can't find a way to do it...

有人可以指点教程或告诉我这样做吗?

Could someone point me to a tutorial or tell me ho to do so?

谢谢!!

推荐答案

这里的第一个答案应该会给你一个想法。 ..基本上创建一个合并尺寸的画布,然后适当地定位'瓷砖'。

The first answer here should give you an idea... Basically creating a canvas that is the combined size and then positioning the 'tiles' appropriately.

在C#/。NET中合并两个图像

这篇关于C#结合了大量图像 - WPF Imaging类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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