Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[html] 第114天 举例说明HTML5的Canvas元素有什么用途? #1037

Open
haizhilin2013 opened this issue Aug 7, 2019 · 4 comments
Open
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第114天 举例说明HTML5的Canvas元素有什么用途?

@haizhilin2013 haizhilin2013 added the html html label Aug 7, 2019
@nowherebutup
Copy link

  • 做页面特效: 粒子效果
  • 画常见的图形: 矩形,圆形
  • 在画布中插入文字,图片

@HCLQ
Copy link

HCLQ commented Aug 8, 2019

最常见的就是做图表,数据可视化产品如百度的echarts
做动画特效,在线画图,3d的webgl有threeJs, 2d的有zrender
一般业务有的:web图像处理,在canvas上画图片,进行像素级的修改,如制作灰度图,对用户上传的图进行裁剪,模糊,多图合成等操作
我常用的就是动态在线生成图片,如一般涉及安全的无痕打码,根据登录用户制作一张透明的事件穿透的图片覆盖在网页最上层,防内部截图外泄

@AydenGen
Copy link

我常用的就是动态在线生成图片,如一般涉及安全的无痕打码,根据登录用户制作一张透明的事件穿透的图片覆盖在网页最上层,防内部截图外泄

请问一下这个方法我可否进入控制台删除最上层图片进而拿到所保护的图片呢?

@HCLQ
Copy link

HCLQ commented Aug 15, 2019

我常用的就是动态在线生成图片,如一般涉及安全的无痕打码,根据登录用户制作一张透明的事件穿透的图片覆盖在网页最上层,防内部截图外泄

请问一下这个方法我可否进入控制台删除最上层图片进而拿到所保护的图片呢?

一般是内部的客服系统防员工泄漏用户数据, 数据的脱敏/明文切换已经防了一层了, 这个只是锦上添花,懂的客服也不会做客服了吧。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html html
Projects
None yet
Development

No branches or pull requests

4 participants