Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.99 KB

hw04.md

File metadata and controls

22 lines (15 loc) · 1.99 KB

概念解释

ASCII:ASCII, abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Most modern character-encoding schemes are based on ASCII, although they support many additional characters.

Color:Color is the characteristic of human visual perception described through color categories, with names such as red, orange, yellow, green, blue, or purple. This perception of color derives from the stimulation of cone cells in the human eye by electromagnetic radiation in the visible spectrum. Color categories and physical specifications of color are associated with objects through the wavelength of the light that is reflected from them. This reflection is governed by the object's physical properties such as light absorption, emission spectra, etc.

(颜色:颜色或色彩是通过眼、脑和我们的生活经验所产生的一种对光的视觉效应。人对颜色的感觉不仅仅由光的物理性质所决定,还包含心理等许多因素,比如人类对颜色的感觉往往受到周围颜色的影响。有时人们也将物质产生不同颜色的物理特性直接称为颜色。 )

简单回答以下问题:

1) 写出字符“A”,“中”的ASCII 码、Unicode 码、 utf-8 编码。

ASCII码 Unicode码 utf-8码
A 0x41 0x0041 0x41
0x4e2d 0xe4 0xb8 0xad

2)黄色(yellow)的RGB编码是(255,255,0 )

3) 从网上下载一个 BMP 格式图像,用图片编辑工具另存在 jpg、 png、tiff 格式。问三种格式中,哪种格式显示质量好?相对于 BMP 格式,压缩率各是多少?

显示质量:PNG=无损tiff>有损tiff、JPG

4)Winrar压缩文件是lossless or lossy 方法

Winrar压缩文件是lossless方法