Added utility function imageSwizzleBGRA8 to convert RGBA8 image to BGRA8.