Closed jennicao closed 2 months ago
For converting between RGB and HSV, is the range of red, green, and blue intensities 0 to 1, or 0 to 255?
The two header files below say 0 to 1, but I just want to double check.
0 to 1 for those two. When I mentioned 0-255 in the tutorial it was referring to most function outputs (that will directly write to a ppm file so the range is 0-255).
For converting between RGB and HSV, is the range of red, green, and blue intensities 0 to 1, or 0 to 255?
The two header files below say 0 to 1, but I just want to double check.