fix error  example:

CGBitmapContextCreate: unsupported parameter combination: 8 integer
bits/component; 24 bits/pixel; 3-component color space;
kCGImageAlphaNone; 363 bytes/row.