Digital media channels, in the context of marketing, is
a channel used for disseminating information that is electronic in
nature, such as the Internet, mobile networks, or social media.
// write your code here function swapRedGreen(pixel) { var newGreen = pixel.getRed(); var newRed = pixel.getGreen(); pixel.setGreen(newGreen); pixel.setRed(newRed); return pixel; } var image = new SimpleImage ("eastereggs.jpg"); print (image); for ( var pixel of image.values()){ if (swapRedGreen(pixel) ){ } } print (image);
Comments
Post a Comment