You probably have to swap the order of channels. I would assume - from RGB to BGR, or something like that.