全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Pixel?

Definition 12.2 Primary & Middle School Computer Science · 第 12 章 — Text, Pictures and Sound as Numbers

A pixel is one of the tiny squares, all of one colour, that make up a picture on a screen or in a file, arranged in rows and columns.

A smiley of 8 by 8 pixels and its 64 bits: 1 for a black pixel, 0 for a white one, one row of bits for each row of pixels.
A smiley of 8 by 8 pixels and its 64 bits: 1 for a black pixel, 0 for a white one, one row of bits for each row of pixels.

示例

Example 12.6 (The size of a picture)

A small picture of 400 by 300 pixels has 400×300=120 000400 \times 300 = 120\,000 pixels. Kept as three bytes per pixel, one for each colour, it takes 120 000×3=360 000120\,000 \times 3 = 360\,000 bytes: 360 kilobytes. Twice as many columns and twice as many rows make four times as many pixels, and a file four times as big.

在原文中阅读 →