using BGRA pixels directly from CGImage
BGRA pixel struct