Reputation: 113956
I'm planning on storing some binarized (bitonal) images in a 1bpp binary format. What values should I use for white and black?
Usually in RGB:
So for bitonal:
I'm looking for the standard or "usual" way to do it instead of following an unusual method that I'll regret later.
Upvotes: 0
Views: 71
Reputation: 75896
Should white be 1 following the RGB standard?
Yes
Should black be 1, meaning that the pixel is filled?
No. Rather, look at it in this way (the RGB way, ie. additive colors) : A white pixel is "filled" and a black pixel is "empty", because a white pixel "has light", and a black pixel has nothing.
Upvotes: 2