开发者

how to merge two images into one with asp.net

开发者 https://www.devze.com 2023-04-07 04:23 出处:网络
I am working on an asp.net project. I am sea开发者_如何学编程rching for a solution such that after a background image of a div is chosen. The user selects another image and coordinate. Then, this imag

I am working on an asp.net project. I am sea开发者_如何学编程rching for a solution such that after a background image of a div is chosen. The user selects another image and coordinate. Then, this image will be merged on the background image with the defined coordinate.

Thanks in advance.


If you wish to combine two images,firstly you must upload them into server via ajax requests.
Read this article : combining images

After you combine them,let the user download the new one. Also if you're looking for an editor to do so,I suggest to place them on html5 canvas.

Best Regards


Your post is quite general, but look in to System.Drawing and using an AJAX call to post both images (as well as the coordinates chosen) and then return the combined image which can then be displayed.

Without more specifics that's really all I can offer.

0

精彩评论

暂无评论...
验证码 换一张
取 消