javascript和html中的图像编辑 [英] Image redaction in javascript and html

查看:88
本文介绍了javascript和html中的图像编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用文档查看器类型的应用程序(asp.net),在这里我需要使用javascript绘制文档上的敏感区域(绘制矩形或圆形).然后将修改后的文档保存到数据库.如何使用javascript合并绘制的区域和图像,以及如何使用javaScript绘制形状.需要支持所有浏览器.

注意:我已经看到了pixtic搅拌器,Html5 Canvas,我遇到了很多问题.

这是参考站点: ajax.snowbound.com 这里没有图像合并. br/>
问候,

Ravi P.



I am working on the document viewer kind of application(asp.net), there i need to paint the sensitive areas on the document(draw rectangles or circles) using javascript. and then save the modified document to database. how can I merge the painted area and image with javascript and how can i draw shapes with javaScript. that needs to support all the browsers.

Note : already i saw pixtic blender, Html5 Canvas I got lot of issues.

this is the reference site : ajax.snowbound.com here no merging of images.

regards,

Ravi P.

推荐答案

好吧,html5似乎是最简单的方法,但是许多浏览器都不支持它.如果除图片合并以外的其他工作对您都有效,并且如果确实没有客户端操作库,则只需采用旧方法在服务器上合并图片即可,例如与图像魔术.也许您必须实现一个服务器端渲染引擎,以重复"(使用ajax)服务器端画布上的客户端绘画.
Well, html5 seems to be the easiest way, but many browsers don’t support it. if snowbound works for you except the merging of images, and if there really is no client side manipulation library, just do it the old way merging images on the server e.g. with image magic. maybe you have to implement a server side rendering engine "repeating" (using ajax) the client side painting on a server side canvas.


这篇关于javascript和html中的图像编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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