Image EditingLesson 204Free preview
Grayscale Image
This lesson is part of Web Developer Tools · All levels
Summary
The grayscale converts a colored image to a grayish hue by maintaining a brightness level. Conversions typically use different weights for red, green, and blue because the human eye is more sensitive to green. The result is not just black and white images: there are still many gray gradations between them.
Key points
- The grayscale stores colorless luminance information
- The weight of the canals is different because the eye's perception is not the same for each color.
- The grayscale still has many gray levels, different from the black-and-white threshold
- Alpha channel can still be maintained on PNG
- The grayscale mode often reduces file size
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.