|
fdsiuha
高级用户
    闷
积分 587
发帖 302
注册 2005-7-25
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
M兄的研究相当彻底
在此基础上我愿意与大家分享我的观点
首先,不能忽略的是,该文件是GIF文件
-----------------------------------------------------------
GIF是一种基于数学公式的压缩方式。
其原理是将离散的数值用连续的函数来描述
那么,经过压缩后的文件,会有图象质量的损失。这些损失必须降低到肉眼观察范围(根据压缩比)或可以接受的范围。
-----------------------------------------------------------
对于我们来说,这些文件压缩以后就会有图象质量的损失,在GIF里图象损失意味着象素的晕开,即模糊,但是这些都只考虑了正向的显示效果,所以在图象上出现的近似白色而不是白色,类同黑色其实却是另外一种颜色的情况。这些都是在正向显示的时候由于极其近似旁边的颜色,人眼无法察觉(压缩比合适)。但是反色的时候却与前景色和背景色以及透明色完全划清界限,所以有“隐藏”的图象的出现。
-----------------------------------------------------------
其实这样的现象在其他的复杂图象中完全存在,譬如本文最后的两个表情符号,反色会有“白”边,但是由于我们确定会忽略复杂图象的被选中后反色后的杂色。所以当简单图象出现这种情况--尤其是规则的几何图形(经过压缩算法后产生的色晕也是有规则的)--我们就非常吃惊了
-----------------------------------------------------------
恕我分段写下上面的话,因为我的K6-2老机子可能已经要到寿命了,频繁死机<img src="images/smilies/face-sad.png" align="absmiddle" border="0"><img src="images/smilies/face-angry.png" align="absmiddle" border="0">
Last edited by fdsiuha on 2005-9-5 at 23:20 ]
Brother M's research is quite thorough.
On this basis, I am willing to share my views with everyone.
First of all, what cannot be ignored is that this file is a GIF file.
-----------------------------------------------------------
GIF is a compression method based on mathematical formulas.
Its principle is to describe discrete values with continuous functions.
Then, after compression, the file will have a loss of image quality. These losses must be reduced to the range that can be observed by the naked eye (according to the compression ratio) or to an acceptable range.
-----------------------------------------------------------
For us, these files will have a loss of image quality after compression. In GIF, the image loss means the smearing of pixels, that is, blurring, but these only consider the positive display effect, so the situation where there is an approximate white instead of white on the image, and a similar black but actually another color. These are because when displaying positively, due to being extremely similar to the adjacent colors, the human eye cannot detect it (the compression ratio is appropriate). But when inverting the color, it completely distinguishes from the foreground color, background color, and transparent color, so there are "hidden" images.
-----------------------------------------------------------
In fact, such a phenomenon completely exists in other complex images. For example, the two emoticons at the end of this article will have "white" edges when inverting the color, but since we are sure to ignore the noise after inverting the color of complex images. So when such a situation occurs in simple images - especially regular geometric figures (the color smearing generated by the compression algorithm is also regular) - we are very surprised.
-----------------------------------------------------------
Forgive me for writing the above words in paragraphs, because my old K6-2 computer may be approaching the end of its life, and it frequently freezes :( :mad:
Last edited by fdsiuha on 2005-9-5 at 23:20 ]
|

欢迎造访DOS的小屋!
http://risky.ik8.com |
|
2005-9-5 22:51 |
|
|
Michael
钻石会员
       
积分 10046
发帖 3039
注册 2002-11-11
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
刚才发现IE对16bit JPG图像的反色仍是间隔填充蓝色,至少我的眼睛这么告诉我。
另外,我发现反色后的图像仍存在各种颜色,至少是存在各种颜色的像素。
Just now I found that IE still fills with blue at intervals when inverting the colors of 16-bit JPG images, at least my eyes tell me so.
In addition, I found that there are still various colors in the inverted image, at least there are pixels of various colors.
|

简单就是美 |
|
2005-9-5 22:53 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
Re Michael(17楼):
>>刚才发现IE对16bit JPG图像的反色仍是间隔填充蓝色
那即是说明,JPEG格式也有类似的“抖动”效果,或许BitMap也会有,可能与图像制作软件有关。
>>发现反色后的图像仍存在各种颜色,至少是存在各种颜色的像素
那就说明,反色颜色仍然有很多,很可能一样多,只是原来相近的反色后相差很大,原来相差很大的反色后反而相近了。比如你ID的黑色和等级的红色。
Last edited by willsort on 2005-9-6 at 19:12 ]
Re Michael (Post 17):
>>Just now I found that IE still fills blue in intervals for 16-bit JPG images when inverting colors.
That means that the JPEG format also has a similar "dithering" effect. Maybe BitMap also does, which might be related to the image editing software.
>>I found that the inverted color image still has various colors, at least there are pixels of various colors.
Then it means that there are still many inverted colors, very likely just as many. It's just that the originally similar colors are very different after inversion, and the originally very different colors are反而 close after inversion. For example, the black of your ID and the red of the level.
Last edited by willsort on 2005-9-6 at 19:12 ]
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-9-5 22:59 |
|
|
Michael
钻石会员
       
积分 10046
发帖 3039
注册 2002-11-11
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
不过,大家可以考虑一下,GIF文件可以存为Transparent型的,全蓝填充是否和这有关系?
However, everyone can consider that GIF files can be saved as Transparent type. Does the full blue filling have anything to do with this?
|

简单就是美 |
|
2005-9-5 23:03 |
|
|
fdsiuha
高级用户
    闷
积分 587
发帖 302
注册 2005-7-25
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
否
会员等级是以 加重字体 的方式显示的,这个时候无论是什么颜色,都统统反色为系统背景色。
图象的问题具体解释请看我楼上的回复。
反色后显示出来的象素并非是由于IE和软件引起的,是因为他们本来就不是背景色,也不是前景色,只是由于压缩而带来的额外的象素罢了,因为有了它们所以图象的品质会下降。
Last edited by fdsiuha on 2005-9-5 at 23:17 ]
No
Member levels are displayed in bold font. At this time, no matter what color it is, it is all inverted to the system background color.
For the specific explanation of the image problem, please see my reply above.
The pixels displayed after inversion are not caused by IE and software, because they are neither background color nor foreground color, but extra pixels caused by compression. Because of them, the quality of the image will deteriorate.
Last edited by fdsiuha on 2005-9-5 at 23:17 ]
|

欢迎造访DOS的小屋!
http://risky.ik8.com |
|
2005-9-5 23:13 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
Re All:
这是我用"画图"作的3张图片,大家可以比较一下。

GIF JPG PNG
Last edited by willsort on 2005-9-6 at 19:18 ]
Re All:
This is 3 pictures I made with "Paint", you can compare them.

GIF JPG PNG
Last edited by willsort on 2005-9-6 at 19:18 ]
附件
1: 十字_gif.GIF (2005-9-6 19:09, 834 bytes, 下载附件所需积分 1 点
,下载次数: 69)
附件
2: 十字_jpg.JPG (2005-9-6 19:09, 696 bytes, 下载附件所需积分 1 点
,下载次数: 66)
附件
3: 十字_png.PNG (2005-9-6 19:11, 190 bytes, 下载附件所需积分 1 点
,下载次数: 66)
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-9-6 19:09 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
TO willsort:
请教一下: 你的贴图是怎样猎捕的?
因为,一般猎捕器,在你点击他处时,那个效果会消失的呀?
...
??
TO willsort:
I would like to ask: How do you capture the images?
Because, generally, when you click elsewhere, that effect will disappear?
...
??
|
|
2005-9-6 20:48 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
Re GOTOmsdos:
我用的是 wincam2 (408K,可能是简化版)的区域捕捉功能,后来我改用 SPX Capture 的区域捕捉功能,都没有碰到你所说的问题。
Re GOTOmsdos:
I used the region capture function of wincam2 (408K, probably a simplified version), and later I switched to the region capture function of SPX Capture, neither of which encountered the problem you mentioned.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-9-7 21:15 |
|
|
fdsiuha
高级用户
    闷
积分 587
发帖 302
注册 2005-7-25
状态 离线
|
|
2005-9-8 13:59 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
Re fdsiuha:
PrintScreen 是可以用,但是拷完之后,需要自己裁剪并另存GIF,不愿如此麻烦,所以改用现成软件了。
Re fdsiuha:
PrintScreen works, but after copying, you need to crop it yourself and save it as a GIF, which is too troublesome, so I switched to using ready-made software.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-9-11 02:12 |
|
|
gwlok99
初级用户
  DOS学习中
积分 29
发帖 15
注册 2005-9-11
状态 离线
|
|
2005-9-11 11:25 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 27 楼』:
使用 LLM 解释/回答一下
willsort 的三个不同格式的十字在反色后,再用放大镜来查看都一样啊。
After inverting the colors of the three different formats of the cross of willsort, when viewed with a magnifying glass, they are all the same.
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-9-11 16:12 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
Re JonePeng:
仔细看的话,JPG图片会有一些“噪点”,而GIF和PNG则没有;三张图片都是用“画图”生成的,所以其中的差别很可能与图片格式的压缩算法有关。
也就是说,fdsiuha兄所说的“象素的晕开”在其他图像格式中也存在,至于是不是连续函数描述我尚未确定。其他诸如Bmp与TIF格式,因为无法嵌入到网页中,所以无法观察其IE反色效果。
Re JonePeng:
Upon careful inspection, JPG images will have some "noise," while GIF and PNG do not; all three images were generated using "Paint," so the differences are likely related to the compression algorithms of the image formats.
That is to say, the "blurring of pixels" mentioned by brother fdsiuha also exists in other image formats, and I have not yet determined whether it is described by a continuous function. Other formats such as Bmp and TIF cannot be embedded in web pages, so their IE inverse color effects cannot be observed.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-9-11 18:24 |
|
|
fdsiuha
高级用户
    闷
积分 587
发帖 302
注册 2005-7-25
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
更正一下,GIF和PNG是无损压缩的,但是使用软件绘图的时候源图是其他有损压缩格式,最后保存为GIF、PNG的就会出现上面的情况,这种事情经常发生。
电脑老死机,上贴写了7、8回才写完。逻辑有点混乱
Last edited by fdsiuha on 2005-9-11 at 21:58 ]
GIF and PNG are lossless compression, but when using software to draw, if the source image is in other lossy compression formats, and finally saved as GIF or PNG, the situation above will occur. This kind of thing happens frequently.
The computer often freezes. The previous post took 7 or 8 times to finish writing. The logic is a bit chaotic
Last edited by fdsiuha on 2005-9-11 at 21:58 ]
|

欢迎造访DOS的小屋!
http://risky.ik8.com |
|
2005-9-11 21:56 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
Re fdsiuha:
补充一点:三张图都是以BMP为源图制作的。
Re fdsiuha:
Add one more point: All three images are made from BMP source images.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-9-11 23:19 |
|