Creating an Animated GIF Part 2
So the next thing we need to do now is we need to create our call to action. Well, if you remember when we were looking through our layers panel, the call to action is pretty much just this first frame, but with this line of text turned off in another line of tex turned on so let's just go duplicate this frame and then we're going toe skate it to the end of our time line, so click wants to activate it and then we're going to click and drag to move it to the end of the animation and you can see a little line appears when you position it I'm still holding that my mouse button when you position it near the point at which you wanted tio to go into and when you see that little line and you can let go of your mouth. So in other words, if I wanted it to land between the next to the last slide in the last one that I would wait till I see that little line in between those guys so if you drag it too far for the shot gives you that you can't do this icon there we go so now to make this my call to...
action, we're just going to scroll down in the layers panel and we're going to turn off the tag line and turn on our call to action and that is all tv sure to save the stocking that while you're doing all this because you certainly wouldn't want to lose your work though you know since funny shop cs six we've had auto saving going on in the background and auto recovery which is really sweet so if something did go haywire why we're building this theoretically your document should be safe but it's just a good workflow habit to disco ahead and soon as you start building something like this just file save as and you're going to use photo shot from the format poppet menu and that keeps all of your layers and text so you can come in here in edit the ad later on when you get more costumes or let's say you want to it's sad to be kind of seasonal in flavor s e you could swap out the costumes or the photos that your post seeing for what have you so now sits I would like for this text to kind of fade out this last frame I would like it to look like this text the call to action fades out and then I would like to return to this first frame so I wanted to create a little bit of a smooth transition between the last frame in the first frame so what we're going to do is I'm going to duplicate this frame again the probably demoralizing your pit and we're going to add some tweeting okay, so I'm gonna go ahead and duplicate that first frame again, and I'm going to drag it all the way to the end, and now what we're going to do is we're going to tell photo shop to create some frames in between thes last you images and it's going to do all of that automatically? I'm not going to do any twinning between my photos. In other words, I'm not going to make it look like they're fading out in fading in and there's a reason for that. The main reason is that when you add it's kind of like a fake transition that's what it's going to look like? You know, a fade out in the fade in when you start adding those that's adding extra frames, and that can greatly increase the size of your animated jif when you're all then and if you are creating these for another website, your would be creating them according to their specifications, and every one of them will give you a maximum file size. So the way to keep your animated jeff nice and small is not do a whole lot of this in between thing, adding frames to look like you're fading and fading out also on full color images when you start doing that and then you save the file out in the jif file format, they're gonna look like crap that whole fading in fading out thing with because a jiff uses a greatly reduced color palette number of colors in the image it just doesn't look is good so if you are transitioning from photo photo photo like this and they are photographs and I know most of our audience is photographers here so that's what we're dealing with than that I mean try it if you want to but I really wouldn't add tween and you're in between frames in between the full color photos but then when you get to a text situation that's fine because we've got so few colors in this that it's still gonna look good but going between that picture in this picture as a lot of colors that are going to drop out with that fading and I don't think it's gonna look very nice okay so now to do are tweeting we're going tio activate the frame just one frame that we want to start the tweeting and again that just means to create the in between images toe look like it's fading and fading out you're going to click this little button down at the bottom of the time on panel it's next to the play buttons so it actually looks like a bunch of little squares on top of each other so if we give that a click then we get this dialogue box it asks hey, I hear you want to tweens and things we're not talking about teenagers that air between the keynote teens and adults tweens not we're talking about here so it's asking you, what do you want between with what do you want me to use to create these frames? So we're going to say next frame and you can see your choices here are precious view how many frames do you want me to add in between? So in other words, how slow add more frames to slow down the transition you know fade in, fade out or add fear frames to make it faster? Five is a default and that's usually just fine, but of course you can you can change that if you want for this particular situation we're going to leave all these other settings alone so we're going to click ok and if you watch in the timeline panel, you're going to see photoshopped create all those other frames so now let's player animation will back up one frame so we can kind of get an idea of where we're at see how it's fading in and fading out we're going to go ahead and set our leap till once we'll do that one more time play see how the first line of text phase out and then the next line of text fades in what's a little too quick, isn't it so I can control that by controlling the frame delay of those in between frames I can control exactly how long everything stays on screen so what we can do and you can change that number in mass so we can click to activate the first frame that we want to change and then we can shift, click toe activate the last frame so that they're all active and then we can just pick any one of those frame delay triangles underneath them and that will change all of them so let's change those tow one second so that they stay on screen longer and let's see what that does will click back a previous frame before we get to our tweeting and will play it. See how now, it's going a little bit more slowly so you could spend hours and hours and hours tweaking this this situation now another thing oh that's nice another thing that you might want to do if you are fading text in and out in this way is you might create a blank frame in between just the that it does resolve to no text and then the new text comes in. So what you would do is you would just click on these frames to kind of find out where that might be, so maybe somewhere in here and you could just add a blank frame in between there so that's basically all there is to it not to the head right not too bad at all and let's see what else I want to tell you? You make it seem so easy to it really is the key is to know that anything with layer visibility is going to be on that particular frame that's active that's really it's so you know create your document bring in everything that you want tohave inside your ad and then just using the visibility eyes just turn everything off and turning on experiment with the with the frame delays very easy here it's also intuitive even the looping controls intuitive it's just right there in front of your face you can't miss it now there is one control that is not intuitive and most people miss but I'm going to show it to you here when you are ready to say about the animation let's say that this is finished then to make sure that it is as compact as it can be for placing on the web and again this is more important if it's going on somebody else's website not your own fits your own website do whatever you want but you want to choose that fly out may need and pick the optimization or optimized animation option when you do you want to turn on these two items right here in a photo shop is just going to make the file small as it possibly can ok so it's goingto crop it a small is it can and if there any unchanged pixels from frame to frame it's going to make them slightly transparent so it really does try to look at your animation and see if there's any pixels that it can drop out and only keep around the pixels that are changing our in ours are pixels between the images are changing quite a bit so it's not going to be able to optimize the little dog pictures, but when it gets over to the text it will drop outs and pixels because say the logo is on screen the whole time in that pink borders on screen the whole time so it's going to drop out some pixels between frames there just to make the phallus size smaller so that's a good thing but unfortunately this doesn't happen automatically if you don't go choose this command, it doesn't get optimized that way. So again for your own web site not a big deal probably don't have to worry about it, but if you're meeting the specs for somebody else's website you to make sure that that thing is a small is possible and certainly when you start adding frames in between three photo shops tweeting feature that becomes more and more and more of a concern so you just wanted to use this flyout menu and optimize animation and just click ok in photo shop will take care of that other things of interest that are in that menu is the reverse frames feature so if you're building this thing and you think oh my gosh, if I could only just flip flop the darn thing then I would truly be happy when you can do that right here you can just reverse the framed and it'll reverse having many frames you have active in that time line panel so that's a kind of neat thing, huh? Yeah. So let's talk just a little bit about saving it so let's say we're finished. We've saved our psd file so now let's choose file safer web and you want to make I'm sure that you do use the file safer web feature not just say that, you know, so what we can do here is we've got playback control down here at the bottom of the safer web dialogue. I see if I could make this dialogue a little bit smaller and I cannot sew there we have it anyway at the very bottom of your screen way down here, you can see that you can play your animation trot right through it again, which is great because you're gonna want to see what the animation is gonna look like once you start changing these options, so the great thing about using the safer web dialogue is that you know exactly the file size of your animated jif so right now we're at two hundred sixty two k, so if you had a an ad requirement of what, say, two hundred k, then you might come over here and start adjusting your options to decrease that file size so that you can meet your ad specifications and as you start messing around with the setting, is it's going to change the look of your piece? So having that play button right here in the safe for web dialog box is huge, so you can see oh, you know, well, that's not gonna work for me. So for example, to make this smaller what I can do is reduce the volume of colors batter in this animation. So if I come down to one hundred twenty eight, watch what that does to the file size. Now we're down to two hundred twelve k. Well, this frame still looks pretty good because I've got precious few colors in it, but now, if we start going through our animation, I can begin to see some problems in the images. You know, we've got a little bit of a problem down here, so now I'm just stepping through it using the forward and back, so this is a great way to see what the settings that you choose over here, how they're going toe impact the imagery that you've got in your ad so once you've finished all you have to do is click safe and we'll just throw this one on the desktop it creates your animated just file and then to test it in the web browser all you have to do is prop open any web browser and then you can choose file open file in the navigate to where that file lives on your desktop and it'll play right there in the web browser so that gives you another checkpoint cool so seemed tio any questions on creating an animated jeff? There are a few questions let me let me thrown your way so we might have missed it at the beginning did use pre set the resolution of the file I did not, but we can go through that so if you're creating it for somebody else than they will give you the specs were resolutions always for the webs always going to be seventy two great pixels prince so let's say they said, oh, I want you to make an ad that three hundred pixels by three hundred pixels so you could choose file new or just press command or control in and from the new dialogue box you can just dial in those parameters so for after three hundred by three hundred pixel ad we type three hundred and from the unit of measurement menu we would choose pixels and then not three hundred to three hundred, and you can also press the tab key teo, move throughout these fields and then you just type seventy two. Technically, the resolution doesn't matter hill of beans for the web because it's the pixel dimensions, your monitors controlling resolution so really doesn't matter at all what you put in here but photoshopped won't let you create a document with an empty resolution. Fields, you have to put something in there, so go ahead, put seventy make like, ok, so there's our new document and again, if you don't see this timeline panel cheese a window timeline and then just come down here to the time my panel klippel slippy, triangle cheese frame animation and then click, create frame animation and then start bringing in all of your pieces your logo, your images and go ahead and bring in all that stuff before you start duplicating your frame, because what'll happen is that you get your first frame all set up and then you duplicate it, and then all of a sudden that first frame starts changing and it could be a little disconcerting. But don't let it throw you just know that you're gonna bring everything in, and then you're going to set up your first frame and then you're going to duplicate it. And then you're going to come over to the layers panel and turn off the visibility eyes of everything you don't want shown in that frame and you're just going to repeat that again and again and again and again and that's it and then when you're finished you can exclaimed to anybody who will listen that you are an animator hello that um all right so what one more question um strictly asks is it possible to save these photoshopped animations ahs a flash file do you know not to my knowledge from photoshopped photos ok, yeah, ok fantastic and here's a kind of a tricky one because I know it's different in every case but do you happen to know of any best practices for the smallest file size of web ads that people will ask for? I guess it really depends on the pixel dimension. Yeah, well dimension certainly plays role in it but for animated gif it's more of that tweeting business that gets you into trouble because soon as you start wanting to fade something in and faded out then I mean just look at how many frames photoshopped had add just to get that little bit of fade in and fade out that we've got here you know? So we added one, two, three, four, five frames in between wolf people like to do that on everything with animated gifs but it just it really pumps up the size your foul, so I would say less tweeting, you know, between the text, if you're switching from full color photographs to the other, I probably wouldn't do it. Another thing that you can do is I've seen a lot of folks who they are. They'll make something look like it's really moving in these animated gifs so let's say you've got try to think of something that would be easy to explain here, let's say you have shot somebody smiling and sticking out their tongue, so instead of duplicating all the pixels on that frame for every single facial expression change you could select, you could only change that one part. So instead of having a frame filled with the same image over and over and over, will you have a frame with an image? And then on the next one, you just have a snippet of the lips or whatever the facial feature that is changing so you can start to get clever with it that way. So the fewer the pixels that you've got on each frame in the fewer frames than the smaller the file size is going to be seeing get real clever that way. Also another big tip is choosing that optimize animation from that time line, paying women yet again, that does not happen automatically why in the hell doesn't happen automatically so be sure to choose that, and then when you get over to the safer web dialog box, then you can drop the number of colors in your mid animation here. Okay, so when you to safer web and you've got a frame animation going on photo shop is going to automatically choose this jif preset, which is what you want. Yes, I don't change that, but then you can come over here and you can start to begin to reduce the color palette, but as soon as you do that, do make sure you use these buttons of the bottom to step through each frame and make sure that your colors aren't completely destroyed. Did you question? Yeah, I had a question about the colors, so if you have to take it to two hundred down there or two hundred kilobytes down on the bottom of the gym for whatever that isthe right there and you see the colors are being, they're really bringing the quality of the images down, what do you do then if it has to be that size? That's a great question. One thing that you can do is choose pattern from the dinner menu that's going to kind of disguise some of the problems that you're going to get, because it places a little bit of a pattern atop your whole image so that you're not noticing the severe quality loss of colors quite as much so pattern is a trick that you can use there's not a whole lot that you can do really so that would force you to go back and get real clever with what you're putting in your in your animation and so if you do get in trouble let's say your photographer right and let's say that with this particular animation example we could not get the file size down to what we want what about if I turned all the images black and white or I did a creative color if it so that would definitely save you some file size due to the greatly reduced color palette so you can get creative with things like that I just have one more question uh I'm assuming because it's so small on the web you probably want to do this but do you ever add alive any life footage to the jeffs give what dangerous? Um uh like a life eat like you're earlier when you showed us the faded from life feed into the stills uh can you do that on these? Thinks she may be talking about video. Yeah, thank you. Video. Can you add any small clips of video? I was just too large. No, you can't do that with me and amita jeff okay, okay, because an enemy and just isn't motion video. It's really? Just you're taking the images, and you're just making it look like there might be some motion, just like a flip book, you know. Yeah, so you can't add video just like that. The great question.