我该怎么办才能保存这张图片? [英] What can I do so that this image can be saved?

查看:79
本文介绍了我该怎么办才能保存这张图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://hesterloli.dnsalias.com/test / ... ript_image.htm


图像为100x100像素块。如果我们右键单击它并尝试保存图像,我们就不能。是否可以设置mime-type以便保存?谢谢。


-

George Hester

__________________________________

http://hesterloli.dnsalias.com/test/...ript_image.htm

The image is the 100x100 px block. If we right-click in it and try to save the image we cannot. Is it possible to say set a mime-type so that it can be saved? Thanks.

--
George Hester
__________________________________

推荐答案

" George Hester" <他******** @ hotmail.com>在消息中写道

news:%R ********************* @ twister.nyroc.rr.com。 ..
http://hesterloli.dnsalias.com/test/ ... ript_image.htm


图像为100x100像素块。如果我们右键单击它并尝试保存

我们无法保存的图像。有可能说设置一个mime类型,以便它可以保存
吗?谢谢。


-

George Hester

__________________________________


什么图片?我有一个空方框!


查看你的来源我发现你生成的图像没有显示

来自文件。


< script>

// XBM图像启动

var tiny =''#define x_width 1 \ n'';

tiny + =''#define x_height 1 \ n'';

tiny + =''static char x_bits [] = {'';

tiny + =''0x00''; //图片数据

tiny + =''};'';

< / script>


< img SRC ="的JavaScript的 的:微小" name =" Single pixel image" width =" 100"

height =" 100"边界=" 2英寸/>


祝你好运;我不熟悉它。
"George Hester" <he********@hotmail.com> wrote in message
news:%R*********************@twister.nyroc.rr.com. ..
http://hesterloli.dnsalias.com/test/...ript_image.htm

The image is the 100x100 px block. If we right-click in it and try to save
the image we cannot. Is it possible to say set a mime-type so that it can
be saved? Thanks.

--
George Hester
__________________________________

What image? I got an empty square box!

Looking at your source I see that you''re generating an image not displaying
one from a file.

<script>
//XBM image start
var tiny = ''#define x_width 1\n'';
tiny += ''#define x_height 1\n'';
tiny += ''static char x_bits[] = {'';
tiny += ''0x00''; //image data
tiny += ''};'';
</script>

<img src="javascript:tiny" name="Single pixel image" width="100"
height="100" border="2" />

Good luck with that; I''m not familiar with it.


" McKirahan" <氖** @ McKirahan.com>在消息新闻中写道:fAvad.369981
"McKirahan" <Ne**@McKirahan.com> wrote in message news:fAvad.369981


Fg5.57689@attbi_s53 ...
Fg5.57689@attbi_s53...
" George Hester" <他******** @ hotmail.com>在消息中写道
新闻:%R ********************* @ twister.nyroc.rr.com。 ..
http://hesterloli.dnsalias.com/test/ ... ript_image.htm

图像是100x100像素块。如果我们右键单击它并尝试保存我们不能的图像。有可能说设置一个mime类型,以便它可以保存吗?谢谢。

-
George Hester
__________________________________

什么形象?我有一个空方框!

看看你的来源我发现你生成的图像没有显示一个文件中的图像。

<脚本>
// XBM图像开始
var tiny =''#define x_width 1 \ n'';
tiny + =''#define x_height 1 \ n'';
tiny + =''static char x_bits [] = {'';
tiny + =''0x00''; //图像数据
tiny + =''};'';
< / script>

< img src =" javascript :微小" name =" Single pixel image" width =" 100"
height =" 100"边界=" 2英寸/>

祝你好运;我不熟悉它。
"George Hester" <he********@hotmail.com> wrote in message
news:%R*********************@twister.nyroc.rr.com. ..
http://hesterloli.dnsalias.com/test/...ript_image.htm

The image is the 100x100 px block. If we right-click in it and try to save
the image we cannot. Is it possible to say set a mime-type so that it can
be saved? Thanks.

--
George Hester
__________________________________

What image? I got an empty square box!

Looking at your source I see that you''re generating an image not displaying
one from a file.

<script>
//XBM image start
var tiny = ''#define x_width 1\n'';
tiny += ''#define x_height 1\n'';
tiny += ''static char x_bits[] = {'';
tiny += ''0x00''; //image data
tiny += ''};'';
</script>

<img src="javascript:tiny" name="Single pixel image" width="100"
height="100" border="2" />

Good luck with that; I''m not familiar with it.




您好McKirahan:


事实证明这实际上可以用于保持任何图像不能从网上保存。

当然,一个精通互联网的用户可能可以保存图像但是使用这个和z-index我们可以放置这个

XBM图像超过一个jpg,如果没有额外的工作,图像将无法保存。


我在这里没有做过,但我在其他地方做过。工作得很好。


我知道XBM的实际构建可能需要一段时间。但它只有1px所以它不应该是b $ b b b nicn。


George Hester

__________________________________



Hi McKirahan:

It turns out this can actually be used to keep any image from being able to save from the web.
Sure a well versed Internet user probably can save the image but using this and z-index we could lay this
XBM image over say a jpg and the image would not be savable without extra work.

I haven''t done it here but I did it elsewhere. Works pretty good.

I do know that the actual construction of the XBM can take a while. But it is only 1px so it shouldn''t be
noicable.

George Hester
__________________________________


这篇关于我该怎么办才能保存这张图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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