如何在UWP中将多个图像合并为单个图像 [英] How to combine multiple image as single image in UWP
问题描述
我有多张图像(近40张图像),我需要将这些图像合并为一张图像.我引用了以下链接, 将两个图像合并为一个新图像
I have multiple image(near by 40 images), I need to combine these images as single image. I have referred the below link, Combine two Images into one new Image
但是我没发现UWP中有类似Graphics的东西.如何达到这个要求
but I dint find anything like Graphics in UWP. How toacheive this requirement
推荐答案
制作渲染目标位图并绘制图像以渲染目标位图.
Making a render target bitmap and draw the image to render target bitmap.
The example that how to draw image to render target bitmap.
并且您可以将渲染目标位图保存到文件,请参见 http://jamescroft.co.uk/blog/how-to/storing-a-uwp-inkcanvas-drawing-as-an-image-in-a -storagefile/
And you can save render target bitmap to file, see http://jamescroft.co.uk/blog/how-to/storing-a-uwp-inkcanvas-drawing-as-an-image-in-a-storagefile/
这篇关于如何在UWP中将多个图像合并为单个图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!