Using value of correct enum for call CGBitmapContextCreate().