上面我提到过,我们可以根据图片像素标签中的宽度与高度元素,改变图片的尺寸大小。
As I mentioned, the width and height elements of the image tag were manipulated to change the size of the image.
这虽然不大会增加文件大小但对于用户代理来说它需要更少的内存来把图片解压为像素地图。
This doesn't affect the file size as much but requires less memory for the user agent to decompress the image into a pixel map.
因为大部分字母只需要8位,在图片的每个像素中能用的位比这多很多。
Because most letters only need 8 bits, I have more than I need to reflect a letter in each pixel of an image.
In my in my area of research, it's common for us to want to process about 100 images a second in order to get real time display. Each image has about a million elements in it. I 've got to process about a half a gig of data a second in order to get anything out of it.
在我们的研究领域内,我们经常要在一秒钟内处理大概,100张图片以获得实时显示,每个图片大概包括了100万像素,因此我必须在1秒内,处理半个G的数据,来获取我想要的。
应用推荐