金钱 ¥
注册时间2009-10-29
- 积分
- 265
|
本帖最后由 solleo1989 于 2010-2-17 14:38 编辑
介于有些人以为我们的工作就是对bin的破解,直接可以吧256的图片 神话般的变成1024 的图片,所以我在这里写了篇关于计算机中图形存在形式的教程,给那些有需要学习的童鞋一些了解+知识。。。
As somebody thought what we did was to crack the picture.... I'm here to write a short description about the graph in Computer....
下面是我自己学习 计算机科学12年来自己的理解,如有不对的地方,请大家指出~~~
This is what I have realized in my 12-years CS(computer science) life. If there's sth wrong, tell me pls....
原文转述:“
Let me explain it 2 U in detail..... I will write it in bothEngilsh and Chinese, this may help all others, who just know littleabout image/graph in Computer Science
让我来仔细给你讲解。。。我会用中英文来写,这样可以给一些不懂 计算机中 图形存在形式的 童鞋 一些帮助。。。
First all, there are two kind of graph:
首先,我来区分一下,在计算机中图形 存在的形式。。
1> Bitmap, like what you showed to us, all the real photos, jpg file, bmp are all this kind of image.
位图,就像你给出的这些图片,所有的相片,jpg文件,bmp文件等等,
In Computer, these graph are displayed by pixel, (you can realize it as a lot of dot with color)
在计算机中,这些图片都是用 pixel(像素)来描绘的,(我们可以把它想象成一一个个带颜色的点)
So if you try to expand this kind of picture, what will be the result....
所以,如果我们试图 放大这些点,结果》》》
Some kind of similar will be fill to the adjacent position (Likeif we try to expand a pic as twice as its original size, one pix willbe shared by all the adjacent 3 points).... Then this is so called'distortion'....
一些相同/相近颜色的点就会被填充到向邻的位置,(就像我们把一个图放大两倍,也就是一个点会被周围3个点共享)。。。这就是我们所谓的 失真~~~
2> VectorGraph, this kind of image is described/displayed byfunctions. So it will not relate to the pixel any longer, if you try toexpand it, the funciton will give what you want....
第二种叫做矢量图,这些图形都是用方程(计算计语言中的方程)来描绘的,所以我们想拉多大,就多大,不会因为像素的关机失真。。。
Thus, the only possible image you want to expand without losing any pixel is such a vector graph.
所以,这是唯一我们可以放大而不是真的图片格式
“
这里是例子:
位图:拿T90来做例子。。。这是游戏里的截图,左边是张 小图,右边是拉大的结果
》现在传不了图片,以后有空补上
矢量图:是我自己画的T90,我自己可以随意变大~~~不失真~~~
》现在传不了图片,以后有空补上
千辛万苦,终于贴上图了~~~~我们的bbs 有问题啊!!! |
评分
-
查看全部评分
|