1.
Which method is used to extract pixel data from a canvas?
2.
What type of object does getImageData return?
3.
Which parameter specifies the rectangular area from which pixel data will be extracted?
4.
What does the putImageData method do?
5.
Which method is used to draw pixel data onto the canvas?
6.
What type of object is passed as an argument to putImageData?
7.
Which of the following is NOT a use case for manipulating image data?
8.
What is the purpose of modifying pixel data with getImageData and putImageData?
9.
Which channel represents the red color in pixel data?
10.
How can you create a grayscale effect using getImageData and putImageData?