changing pixels values