added two ways of masking CGImage