bytesPerRow = ( ( width * 8 * 4 + 7 ) / 8 );
data = calloc( 1, bytesPerRow * height );
context = CGBitmapContextCreate( data, width, height, 8, bytesPerRow, CGColorSpaceCreateDeviceRGB(), kCGImageAlphaPremultipliedFirst );
bytesPerRow = ( ( width * 8 * 4 + 7 ) / 8 );
data = calloc( 1, bytesPerRow * height );
context = CGBitmapContextCreate( data, width, height, 8, bytesPerRow, CGColorSpaceCreateDeviceRGB(), kCGImageAlphaPremultipliedFirst );