禁用从画布下载图像 [英] Disable to download image from canvas

查看:159
本文介绍了禁用从画布下载图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将图片添加到canvas元素,但访问者可以将该图片保存到本地comp。
有没有办法禁用该选项?我不知道,把一些透明的图像吗?

I added image to canvas element, but visitor than can save that image to local comp. Is there any way to disable that option? I don't know, putting some transparent image over?

Thx

推荐答案

这一切(甚至不是图像切片)阻止用户简单地将屏幕复制到剪贴板并将其粘贴到MSpaint或任何其他图像实用程序,并保存结果。它的微不足道;透明图像不会阻碍这一点。

None of this (not even image slicing) stops a user from simply copying the screen on to the clipboard and pasting it into MSpaint or any other image utility, and saving the result. Its trivial to do; And a transparency image is no impediment to this.

我知道的唯一有效的选项是(如所说),水印或低质量。
*避免使用Photoshop过滤器轻松删除1像素宽的线条或点水印。

The only effective options that I know of are (as was said), watermarking or low quality. *Avoid 1 pixel wide lines or dot watermarks that can be removed easily with a Photoshop filter.

〜如果它的商业...你可以有一个工资,并且将购买者的姓名和/或信息隐写地嵌入到图像(或预览)中,使得如果未经许可使用它,至少你知道是谁做的。

~If its commercial... You could have a pay-wall, and steganographically embed the purchaser's name and or information into the image (or preview), such that if it does get used without permission, at least you know who did it.

这篇关于禁用从画布下载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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