Robin Rodricks
Robin Rodricks

Reputation: 113956

What are the usual bit values for bitonal images?

I'm planning on storing some binarized (bitonal) images in a 1bpp binary format. What values should I use for white and black?

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

Answers (1)

leonbloy
leonbloy

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

Related Questions