INTERP_BILINEAR also causes the color artifacts on Windows; use INTERP_NEAREST instead