Page 270 - Web Applications (803) Class 11
P. 270

4.  Now select the brush tool, and click and drag on the coloured background. The mask layer will ensure that black
                  and white background of the second layer shows through.






























              5.  Use Zoom In to enlarge the image and ‘brush’ the entire background black and white.

              6.  You should get a colored smiley over the black and white smiley.

                 3.8 ALPHA CHANNEL
              In GIMP, you may give your image transparency by adding an alpha channel. The additional channel instructs the
              computer which portions of the image are visible (represented by the channel’s black pixels) and which portions are
              opaque (the white pixels in the channel). This can also be referred to as an RGBA picture (red, green, blue, alpha).

              Creating an Alpha Channel

              Locate the Layers palette in the GIMP window’s lower right corner, then right-click on a blank area and select Add
                                                                                                        Communication
              Alpha Channel from the popup menu. That’s all!
                                                                                                       Critical Thinking


                         Video Session

                   Scan the QR code or visit the following link to watch the videos:
                   GIMP- What does “Add Alpha Channel” mean? – tutorial:  https://www.youtube.com/watch?v=A9aZdPqs17M
                   Gimp Lesson 10 | Using Transparency and Alpha Channel: https://www.youtube.com/watch?v=HqOZSkjB0kw
                   Now, open an image in GIMP and make the background transparent.
                   After watching the videos, answer the following questions:

                   1.  Why should you not save the image as a JPEG image?
                     ......................................................................................................................................................

                   2.  When you include an alpha channel, what happens to the file size?
                     ......................................................................................................................................................







                268     Touchpad Web Applications-XI
   265   266   267   268   269   270   271   272   273   274   275