Clarify colorspace & channels header usage; #152

This commit is contained in:
Dominic Szablewski 2022-01-05 16:55:27 +01:00
parent 6804a745e4
commit 07116e8b89

2
qoi.h
View File

@ -248,7 +248,7 @@ The colorspace in this qoi_desc is an enum where
1 = all channels are linear 1 = all channels are linear
You may use the constants QOI_SRGB or QOI_LINEAR. The colorspace is purely You may use the constants QOI_SRGB or QOI_LINEAR. The colorspace is purely
informative. It will be saved to the file header, but does not affect informative. It will be saved to the file header, but does not affect
en-/decoding in any way. */ how chunks are en-/decoded. */
#define QOI_SRGB 0 #define QOI_SRGB 0
#define QOI_LINEAR 1 #define QOI_LINEAR 1