convert to monochrome API compatibility