Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Now let's take a look at a graphic that's better suited to the GIF file format. I'm still looking at my file, Goodbye overprints.ai, found inside the 12_exporting folder. I'm going to switch to Page 2 of this graphic, artboard number 2 that contains the skateboard and the surfboard, and I'm going to go up to the File menu and choose the Save for Web & Devices command. I invite you to do the same and that's going to display the big dialog box for us and we are going to see the original view of the graphic over here on the left hand side and the Optimized View is a JPEG image because that's the last file format we selected.
You are always going to see your last applied settings there. Notice over here on the left hand side that we are seeing this checkerboard transparency pattern. That indicate areas that we have no graphic coverage going on. So they are exposed white paper, if we are going to print, and they are transparency when we are sharing the file between different applications. Now when we are working with the JPEG graphic, JPEG does not support Transparency. So the Transparency has to be filled with something and presumably that would be white. But you can change that color if you want to.
One way to change the color incidentally is get your Eyedropper and then you would click on the color you want to lift. For example, I'll go ahead and eye-drop inside of this left hand graphic, here at the Original, I'll eye-drop this green, and then you would switch over to your Optimized view just by clicking inside of it, and it would change Matte from White to Eyedropper Color, and then it would become green instead. So anyway, that's what would happen with the JPEG. We are not going to work with the JPEG, because JPEG as I was telling you is great for continuous tone, photographic imagery, or illustrations that contained lots and lots of gradients or blends or fountain fills, however, it's not so great when we have these flat fills, as we do inside the skateboard and the surfboard.
So we have very few discrete colors going on which are best served by GIF of the two file formats between JPEG and GIF. So I'm going to switch over here to GIF like so. Now GIF does support Transparency as you are seeing right here. So you can go ahead and preserve the transparency if you want to. I don't however, and I'll tell you why. The Transparency is either off or on, so you don't have continual gradual transparency. You don't have anything resembling for example, translucency. It's just either opaque or transparent, and that's it, and as a result, we are seeing our drop shadows is turned green because green is currently our Matte color. So for starters, I'm going to change the Matte color back to White and I'm going to get rid of the Eyedropper here. I'll just switch back to the Hand tool, and then we are going to turn- off Transparency because look at that.
That's looking pretty terrible as well. We will turn off Transparency so that the entire graphic is opaque. By the way, my graphic dropped in size. It was originally here. I'll show you what the JPEG looked like. The JPEG image was 74K and by switching it over to GIF, we have dropped the size of the graphic down to 51.3K, if Transparency is turned on, I'll turn it off, and it jumps up a little bit to 51.62. Now I can make it even smaller however, by reducing the number of colors inside the image. So let's go ahead and zoom in on the skateboard right there, and what is this keep, I know, why it keeps going on because I just press the Spacebar and its active here under Windows. So we want that off however, as I say.
I am going to reduce the number of colors down to something along the lines of 32, and my illustration still looks really great. That didn't really affect the appearance of the illustration. We are seeing a few weird color pixels showing up like these reds, right in this location of the gray and some green spot showing up in this gray right there. But it's nothing that I think is going to adversely affect the appearance of the graphic at a normal distance, and the GIF image is now dropping to 37K approximately, which is absolutely great. We are simulating different colors using a Diffusion Dither. That's the best kind of Dither for an illustration. You don't want Pattern because that's going to be a regular rectilinear pattern. That's going to look weird and Noise is better suited to imagery typically. Or you could say No Dither.
Now if you get rid of the Dither entirely, you won't have any of these dot patterns show up, and we can try out that No Dither setting. It also makes the file slightly smaller. So let's try out No Dither. It drops down to 35K, so we lose a couple of K there and we lose a couple of the spots that were looking weird but then we have some sort of aberrant green lines inside of this small yellow Shenbop right there. And I'm not sure if that's going to be a problem or not and we have some sort of chunkier transitions inside of this drop shadow. So here is the drop shadow at No Dither, and here is the drop shadow at Diffusion Dither. Diffusion is going to look a little better, a little more granular as you can see. You can also reduce the amount of dithering using this Dither percentage option, which is going to reduce the amount of dithering and reduce the file size slightly.
So that I took it down to 35K as well at to 50 % Dither and we still have some dither pattern going on inside the graphics. So that might be a nice sort of trade-off. You also have the option of introducing Lossy compression to your illustration if you want to. I don't advice that you go that route. Leave that set to zero. And you can switch palettes if you want to. You can try different palettes to see what's going to work best. Typically though, for a low color illustration like this one, Selective is going to be your best path. The other option is to try out Adaptive and see how that fairs. But in our case, Selective is definitely producing the best result.
You don't want Restrictive. That's going to boil things down to the very limited Web palette. You want to be able to select from any colors in the 16,800,000 color continuum. Anyway, Selective is the way to go for this graphic. Let's go ahead and zoom out by Ctrl+Alt+Spacebar-clicking or Command+Option+Spacebar-clicking on the Mac and this is what the image looks like at regular size, which is pretty great. I'm not seeing any problems inside of these areas even at 32 colors, and you could even, if you want to, you can try going smaller and see what happens at 16. And that does take the graphic down to 29.3K but the drop shadows are falling apart and some other details are too. So I don't suggest we go down that low.
Let's stick with 32. Now you can enter colors in between but these are the bit level. So this is 1 bit graphic and this is a 2 bit graphic, and a 3 bit graphic, and 4 bit, so you are not going to save yourself too much by just shaving off a few colors here and there. So you probably just want to select the preset, I'll go with 32 colors. Click on the Save button in order to save out that graphic, and I'll have created a 35K version of these boards. Click the Save button in order to actually save that graphic out and we are done. In the next exercise, I'm going to show you how to save a PNG graphic.
If you are more interested in quality then compression, PNG is the way to go.
Get unlimited access to all courses for just $25/month.Become a member
120 Video lessons · 64609 Viewers
119 Video lessons · 71891 Viewers
125 Video lessons · 32501 Viewers
84 Video lessons · 18978 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.