added imageWithGradient