Python Forum
Count image's colors very fast
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Count image's colors very fast
#14
@deanhystad: Nice, clear link! Thanks!

Apropo colours on computers: 24-bit colours: 16.7 million (2 to the power of 24)

Quote:Nearly all computers and displays over the last five to ten years come standard with support for at least 16-bit color, with newer computers supporting 24-bit and 32-bit color. Is there a different between the different levels of color? The short answer is yes. All three color bit depths use red, blue and green as standard colors, but its the number of color combinations and alpha channel that makes the difference. Whether you are viewing pictures, watching a video, or playing a video game a higher color depth is more visually appealing.

16-bit color
With 16-bit color, also called High color, computers and monitors can display as many as 65,536 colors, which is adequate for most uses. However, graphic intensive video games and higher resolution video can benefit from and use the higher color depths.

24-bit color
Using 24-bit color, also called True color, computers and monitors can display as many as 16,777,216 different color combinations.

32-bit color
Like 24-bit color, 32-bit color supports 16,777,216 colors but has an alpha channel it can create more convincing gradients, shadows, and transparencies. With the alpha channel 32-bit color supports 4,294,967,296 color combinations.

As you increase the support for more colors, more memory is required. However, almost all computers today include video cards with enough memory to support 32-bit colors at most resolutions. Older computer and video cards may only be able to support up to 16-bit color.

Can my eyes tell a difference?
Most users cannot tell much of a difference between 16-bit and 32-bit. However, if you are using a program with gradients, shadows, transparency, or other visual effects that require multiple colors you may notice a difference.
Reply


Messages In This Thread
Count image's colors very fast - by flash77 - Feb-03-2024, 06:30 PM
RE: Count image's colors very fast - by deanhystad - Feb-03-2024, 08:25 PM
RE: Count image's colors very fast - by Pedroski55 - Feb-04-2024, 02:43 PM
RE: Count image's colors very fast - by flash77 - Feb-04-2024, 05:56 PM
RE: Count image's colors very fast - by deanhystad - Feb-04-2024, 06:42 PM
RE: Count image's colors very fast - by Pedroski55 - Feb-05-2024, 12:22 PM
RE: Count image's colors very fast - by flash77 - Feb-05-2024, 07:32 PM
RE: Count image's colors very fast - by deanhystad - Feb-05-2024, 08:07 PM
RE: Count image's colors very fast - by Pedroski55 - Feb-06-2024, 01:38 PM
RE: Count image's colors very fast - by deanhystad - Feb-06-2024, 02:06 PM
RE: Count image's colors very fast - by flash77 - Feb-06-2024, 08:36 PM
RE: Count image's colors very fast - by Pedroski55 - Feb-07-2024, 02:43 PM
RE: Count image's colors very fast - by deanhystad - Feb-07-2024, 05:14 PM
RE: Count image's colors very fast - by Pedroski55 - Feb-08-2024, 07:11 AM
RE: Count image's colors very fast - by flash77 - Feb-08-2024, 06:18 PM
RE: Count image's colors very fast - by deanhystad - Feb-08-2024, 06:26 PM
RE: Count image's colors very fast - by kumaransh - Feb-26-2024, 05:14 PM
RE: Count image's colors very fast - by flash77 - Mar-05-2024, 04:38 PM
RE: Count image's colors very fast - by deanhystad - Mar-05-2024, 06:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  can openpyxl read font colors mperemsky 3 1,886 May-09-2023, 11:18 AM
Last Post: MindKeeper
  ANSI not working for change of text colors BliepMonster 10 3,617 Nov-10-2022, 09:28 AM
Last Post: BliepMonster
  Row Count and coloumn count Yegor123 4 1,440 Oct-18-2022, 03:52 AM
Last Post: Yegor123
  How to do bar graph with positive and negative values different colors? Mark17 1 5,398 Jun-10-2022, 07:38 PM
Last Post: Mark17
  Plot Back Ground Colors JoeDainton123 0 2,244 Aug-19-2020, 11:09 PM
Last Post: JoeDainton123
  How to fill between the same area with two different colors Staph 0 1,529 Jul-08-2020, 07:01 PM
Last Post: Staph
  How do I map a list of values to specified colors? larkypython 4 2,649 Nov-05-2019, 09:22 AM
Last Post: larkypython
  after using openpyxl to add colors to script, black shows up white online in excel Soundtechscott 1 3,750 Jun-08-2019, 10:33 PM
Last Post: Soundtechscott
  How to plot two list on the same graph with different colors? Alberto 2 28,925 Jul-18-2017, 09:20 AM
Last Post: Alberto
  How to print in colors JohnNo 2 3,227 Apr-01-2017, 02:14 PM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020