Added support for texture images with BGR and BGRA channel order.