1 00:00:08,299 --> 00:00:08,750 Hello, 2 00:00:08,750 --> 00:00:12,330 It’s time to talk about picture editing. It’s an ample topic, we could make 3 00:00:12,330 --> 00:00:16,750 a tutorial series on this topic alone, I’ll only have two videos and will stick 4 00:00:16,750 --> 00:00:21,590 to a few principles and methods without trying to cover everything. I guess you can find 5 00:00:21,590 --> 00:00:23,529 additional information elsewhere. 6 00:00:23,529 --> 00:00:28,189 I’ve seen many presentations where the laudable intent of adding visuals 7 00:00:28,189 --> 00:00:32,509 was marred by a clumsy realization. For instance, an introductory class to 8 00:00:32,509 --> 00:00:36,010 programming often starts with an historical overview where is mentioned 9 00:00:36,010 --> 00:00:41,340 the first mechanical computer designed by Blaise Pascal when he was 19 years old. 10 00:00:41,340 --> 00:00:46,210 Too often, it appears a bit like this. I’m sorry, but it looks like “our class trip". 11 00:00:46,210 --> 00:00:51,100 I wouldn’t mind seeing something like this 12 00:00:51,100 --> 00:00:54,810 in a junior high-school presentation, but it doesn’t look professional. Yet you’ll often 13 00:00:54,810 --> 00:00:58,290 see it, in a company, during a class, or at technical conferences. 14 00:00:58,290 --> 00:01:04,019 There are several possible ways to well integrate a picture to a presentation. 15 00:01:04,019 --> 00:01:08,000 First solution, the full-screen image, much loved by Garr Reynolds, among others. 16 00:01:08,000 --> 00:01:12,890 There may be a slight issue with text if you have some (which isn’t mandatory) 17 00:01:12,890 --> 00:01:17,140 because contrast can be poor. In that case, a solution may be 18 00:01:17,140 --> 00:01:23,430 to paste a rectangle, a shape, over the text, to change the fill color of this shape 19 00:01:23,430 --> 00:01:29,299 to white or light grey, to make it say 50% transparent, 20 00:01:29,299 --> 00:01:33,890 then, by playing with how elements are stacked over the slide, to place 21 00:01:33,890 --> 00:01:41,350 the rectangle between picture and text. Small but important point, make sure that 22 00:01:41,350 --> 00:01:44,560 this rectangle lines up on at least one side with an edge, 23 00:01:44,560 --> 00:01:47,220 a rectangle lost in the middle doesn’t look too good. 24 00:01:47,220 --> 00:01:51,049 Another solution, which I like better but isn’t always an option, is 25 00:01:51,049 --> 00:01:54,900 to find a color with a strong contrast with the background image. If your image is a succession 26 00:01:54,900 --> 00:01:58,740 of very light and very dark areas under the text, the transparent rectangle remains 27 00:01:58,740 --> 00:01:59,540 the backup solution. 28 00:01:59,540 --> 00:02:04,659 Unfortunately, it happens that the only suitable picture you find on a topic is 29 00:02:04,659 --> 00:02:07,450 small. And in that case, when you increase its size to the screen size, pixels 30 00:02:07,450 --> 00:02:11,829 appear. Ugly. This problem usually becomes a concern when the smaller dimension of your 31 00:02:11,829 --> 00:02:15,579 image is under about 700 pixels, and unfortunately I have already seen 32 00:02:15,579 --> 00:02:20,250 images that ugly in professional presentations. There are two tactics for coping with it, 33 00:02:20,250 --> 00:02:25,530 camouflage or living with it. For camouflage, if you are using Powerpoint 34 00:02:25,530 --> 00:02:29,489 the image menu shows on the left something called “filters”. You can 35 00:02:29,489 --> 00:02:33,709 experiment with different filters, I’m using here fore instance the one called 36 00:02:33,709 --> 00:02:39,230 “Line Drawing”. It hides a bit too much, 37 00:02:39,230 --> 00:02:43,920 but you can adjust transparency that I am here increasing from 25 to 38 00:02:43,920 --> 00:02:49,890 50%. Additionally, I’m going to play with colors and desaturate them, that means making 39 00:02:49,890 --> 00:02:54,319 then greyer so that visually the image pulls back a little. You can argue about the filter 40 00:02:54,319 --> 00:02:57,770 choice, you may like or not and I’m going to show you soon something that isn’t 41 00:02:57,770 --> 00:03:01,489 in Powerpoint and that I find better, but one sure is certain, it’s that it’s 42 00:03:01,489 --> 00:03:04,830 the same image, in the same resolution as before, 43 00:03:04,830 --> 00:03:10,760 and pixels have vanished. If you prefer living with it, keep your image 44 00:03:10,760 --> 00:03:14,560 small enough so that resolution remains acceptable but make it look like a 45 00:03:14,560 --> 00:03:18,830 a paper picture by adding to it a narrow white margin and a shadow, one of the standard 46 00:03:18,830 --> 00:03:23,160 image formatting options. Icing on the cake, tilt the image a little. 47 00:03:23,160 --> 00:03:27,090 This works very well if you have several images on the same topic, 48 00:03:27,090 --> 00:03:31,550 with none of them astounding but that work well as a set. 49 00:03:31,550 --> 00:03:36,790 As long as you have a good enough resolution (or if you cheat), 50 00:03:36,790 --> 00:03:39,890 full-screen display is a nice solution but prevents from having more than 51 00:03:39,890 --> 00:03:44,269 a few words on the slide. The most flexible solution is probably to remove the image background 52 00:03:44,269 --> 00:03:46,840 to only keep what is truly interesting. 53 00:03:46,840 --> 00:03:52,610 Once again, the Powerpoint image editing menu shows a button labelled 54 00:03:52,610 --> 00:03:59,190 “remove background” which is a rather impressive tool. 55 00:03:59,190 --> 00:04:01,459 I’ve used it for instance to erase the grey background of this stamp. 56 00:04:01,459 --> 00:04:05,970 The only snag is that, as with everything that is automated, result quality varies. 57 00:04:05,970 --> 00:04:09,489 It will be excellent with a strong contrast between the background and the foreground, 58 00:04:09,489 --> 00:04:13,739 but when you have to guess the edges there are some worries. For instance, I couldn’t do 59 00:04:13,739 --> 00:04:17,440 any better than this with Pascal’s computing machine. You can see that there are 60 00:04:17,440 --> 00:04:20,470 several points where obviously software couldn’t clearly identify 61 00:04:20,470 --> 00:04:24,249 the edges, and showing something as approximate is embarrassing in a 62 00:04:24,249 --> 00:04:29,309 presentation.This result, I got it by hand. 63 00:04:29,309 --> 00:04:32,830 The tool I use for editing images is Gimp, which is not only free but 64 00:04:32,830 --> 00:04:37,259 also a fantastic tool that I have as happily used on Linux, Windows, 65 00:04:37,259 --> 00:04:42,129 and Mac. There are many books on Gimp, I will only give 66 00:04:42,129 --> 00:04:45,749 a very very brief overview of techniques I find useful for making images more 67 00:04:45,749 --> 00:04:50,400 suitable for a presentation. For instance, hiding pixels. 68 00:04:50,400 --> 00:04:55,550 Gimp has a wider range of filters than Powerpoint. First, you open the 69 00:04:55,550 --> 00:05:00,639 small image, and resize it with the Image/Scale Image menu so that its smaller dimension 70 00:05:00,639 --> 00:05:06,809 is in the 750 to 800 pixels range. The resulting image isn’t pretty, 71 00:05:06,809 --> 00:05:10,639 but there is in the filters menu under“Artistic” something which I like 72 00:05:10,639 --> 00:05:15,080 much and is called “oilify”, in other words “oil painting”. 73 00:05:15,080 --> 00:05:19,349 Basically, pixels will turn to paint spots with an ajustable radius 74 00:05:19,349 --> 00:05:24,919 the default value of which is 8. I often bring it down to 3 when I want to keep some 75 00:05:24,919 --> 00:05:29,860 detail. Here I’ve kept default parameters. In the “Colors” menu, I can adjust hue 76 00:05:29,860 --> 00:05:34,460 and saturation. As with the Powerpoint filter 77 00:05:34,460 --> 00:05:39,979 I’m going to desaturate my picture. Now I can export it to a .jpg or .png 78 00:05:39,979 --> 00:05:44,229 file (beware, it the latest Gimp versions “Save” writes images in 79 00:05:44,229 --> 00:05:47,599 an XCF format only used by Gimp). 80 00:05:47,599 --> 00:05:52,379 I just have to import it into Powerpoint, add text, here with 81 00:05:52,379 --> 00:05:56,589 fancy “period” fonts and you’re done. 82 00:05:56,589 --> 00:06:00,240 But this kind of easy transform is just a drop in the ocean of what Gimp allows 83 00:06:00,240 --> 00:06:04,619 you to do. I was previously mentioning background removal, and I first need 84 00:06:04,619 --> 00:06:08,610 to tell you a couple of things about images and Gimp. 85 00:06:08,610 --> 00:06:12,939 Firstly, images that you will find will 86 00:06:12,939 --> 00:06:19,339 mostly be .JPG files (pictures, generally speaking), .GIF files (drawings and logos), 87 00:06:19,339 --> 00:06:25,110 or .PNG files (everything). Removing the background implies that the format can display transparent areas, 88 00:06:25,110 --> 00:06:30,169 which .JPG files cannot do. Many interesting Gimp features are similarly unavailable if you 89 00:06:30,169 --> 00:06:35,469 keep the special color encoding of your .GIF files. With Gimp, the original format matters little: 90 00:06:35,469 --> 00:06:40,749 it can convert everything. However, it’s best to export 91 00:06:40,749 --> 00:06:44,899 your edited image as a .PNG file when you are done (and if you save an image before it’s completely 92 00:06:44,899 --> 00:06:50,050 modified, it’s better to use the .XCF Gimp file format). 93 00:06:50,050 --> 00:06:56,089 Before you start working on a file, you must make sure of two things. First , in the 94 00:06:56,089 --> 00:07:01,719 Image/Mode menu, that the RGB option is selected. It won’t be the case if you 95 00:07:01,719 --> 00:07:07,199 have opened a .GIF file. Select this option, otherwise many options will be 96 00:07:07,199 --> 00:07:14,449 deactivated in menus. Next, transparency. 97 00:07:14,449 --> 00:07:18,009 Go to the “Layer” menu and check 98 00:07:18,009 --> 00:07:22,209 the transparency submenu. If option “Add Alpha Channel” is deactivated, 99 00:07:22,209 --> 00:07:28,429 it’s OK, your image can be transparent. Otherwise, select it. Whatever is 100 00:07:28,429 --> 00:07:31,999 transparent is displayed in Gimp as a grey checkerboard. 101 00:07:31,999 --> 00:07:36,069 Now let’s take a look at tools. Depending on the Gimp versions, some windows 102 00:07:36,069 --> 00:07:39,679 may or may not be opened at launch. If they aren’t, you must select them 103 00:07:39,679 --> 00:07:44,709 from the Windows menu. The first, almost mandatory one, is the “Toolbox” 104 00:07:44,709 --> 00:07:48,219 Don’t be scared by the impressive number 105 00:07:48,219 --> 00:07:51,110 of tools, I always use the same small set 106 00:07:51,110 --> 00:07:55,999 of easy tools. The other window is the one called “layers”, 107 00:07:55,999 --> 00:07:59,749 As you’ll soon see, some changes require working 108 00:07:59,749 --> 00:08:02,749 on multiple copies of the image, which you stack up and change separately. 109 00:08:02,749 --> 00:08:07,649 Finally, the last useful window is the one called “Tool Options”, 110 00:08:07,649 --> 00:08:11,419 which associates with each tool in the toolbox specific options. 111 00:08:11,419 --> 00:08:15,589 I rarely change options, but this window is very useful for some tools such as 112 00:08:15,589 --> 00:08:19,969 the eraser, the size of which you often want to change. 113 00:08:19,969 --> 00:08:24,289 To remove the background, the best tool is the lasso, which allows you to circle 114 00:08:24,289 --> 00:08:29,349 around parts of an image. Using it is simple. First of all, I advise you to zoom as much 115 00:08:29,349 --> 00:08:33,940 as possible on the area of interest. Then, either you keep the mouse clicked down 116 00:08:33,940 --> 00:08:38,050 and follow any curve you want, or, what I always do, you draw straight line 117 00:08:38,050 --> 00:08:42,819 segments and only click to change direction. With an object with mostly straight edges 118 00:08:42,819 --> 00:08:47,050 such as Pascal’s machine, straight lines are the obvious choice. When the image is almost 119 00:08:47,050 --> 00:08:51,990 fully circled, double-click and Gimp will close the loop and indicate that the 120 00:08:51,990 --> 00:08:56,079 circled part is selected. It’s not this part that we want to remove, but everything else. 121 00:08:56,079 --> 00:09:01,360 Therefore we’ll go to the ‘select’ menu, click on ‘Invert’, then cut from either 122 00:09:01,360 --> 00:09:05,690 the ‘edit’ menu or by using usual keyboard short-cuts. At this stage, there will 123 00:09:05,690 --> 00:09:08,870 be certainly some small details to improve and, if the image isn’t 124 00:09:08,870 --> 00:09:12,230 very geometrical, there may be significant work to be completed. Here, your tool 125 00:09:12,230 --> 00:09:16,120 will be the eraser. Default options are very good, the only thing that you may 126 00:09:16,120 --> 00:09:19,740 have to change is the size, and it’s better to zoom strongly over the area 127 00:09:19,740 --> 00:09:23,839 that you are working on. If you make a wrong move, no panic, you can undo everything 128 00:09:23,839 --> 00:09:28,610 with Gimp. I’ve made a lot of wrong moves .. Here is for principles, next 129 00:09:28,610 --> 00:09:29,879 time a practical example.