MRaster examples 21.0.0.0
Image Processing Library
Loading...
Searching...
No Matches
color_all.cpp File Reference

Draw every possible color in 24-bit. More...

Go to the source code of this file.

Detailed Description

Draw every possible color in 24-bit.

Author
Mitch Richling https://www.mitchr.me
Standards
C++20
Details

This is a very simple program that plots a point of EVERY possible 24-bit color. This program illustrates how to count by bytes, set colors in byte order, how to avoid all the work and do it with simple integers via setRGBAfromLogPackIntABGR, how to count via Grey code order, and how to reduce to 216 web safe color.

Definition in file color_all.cpp.