Oh, I see!
If you want to "flatten" an image that contains the 1-bit patterns into just pattern 0 and pattern 1, make a selection with the drawing tools and then use "Edit -> Invert" from the menu twice. You can do the equivalent programmatically on a canvas with the "canvas.invert[]" function.