Monolize images with two colors via canvas element