A 256-color image is not necessarily a grayscale image.

Source: Internet
Author: User

For a 256 image with 8 pixels, some correspond to different RGB color palette, which is a pseudo-color 256 image. If the r of the corresponding RGB color palette is = G = B, this is a 256 grayscale image. For gray-scale and pseudo-color images of 256, their colors are fixed; otherwise, they will become messy.

We can also see the importance of the color table, because the values in the image only provide the corresponding positions in the color table. The specific values are obtained by searching in the color table. If there is no color table, this is equivalent to a null pointer, and there will be obvious problems!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.