add an option to output bitmap in 1-bit