Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
As a web designer I'm always working on multilayered files that require me to process several images at once. In previous versions of Photoshop that's always been somewhat tedious, because I had to slice things up or copy and paste things into new documents and then use Save for Web. But recently I've been playing around with the Adobe Generator feature, which allows me to easily export assets out of Photoshop and into a folder without me having to do anything really. Let's take a look. Here I have open a document for this little design that I'm working on for the Roux Academy. It's got a logo, some background elements, and some buttons, and what I want is for Photoshop to generate these assets for me so I don't slice it up into individual files.
In order to do that I first have to turn the Generator feature on, by going to the File menu, selecting Generate, and making sure Image Assets is turned on. By default, that should be turned off, so if you go back and see if there's a check mark, you can turn that on and off just by tapping it like that. Once you turn it on Photoshop then generates a folder wherever this file is saved or on the desktop if it hasn't been saved yet. And then as you create your layers over here, it automatically generates assets based on those layer names. Now you have to be kind of careful with how you name your layers.
See, you have to append the file extension of the file type that you want. So for instance, on these background layers, if I want to name them something jpg then it would generate a JPEG. So in this case I will call this bluebg.jpg. In addition to the file extension, you can also append things like quality settings, so I could say green.jpg10 to give it a quality setting of 10 and you can also specify things like size. So for instance here I could say, redbg.jpg, 200% firstname.lastname@example.org to give it a Retina display graphic as well.
Now, up here for these buttons, I can append things like signup.png and I can choose 24 or 8. I can even do login.png, and let's say that I wanted to see these also as a gif. I can do this: login.gif. And in order to create multiple files all you have to do is separate it by a comma. Finally, with the logo, I want to see this in several different ways, so I'm just going to call this logo.jpg10, logo.png8, logo.gif and and I will hit Enter.
Now once I've done that, I don't have to do anything else. I will navigate out here to my Finder window, go into my Roux Academy assets, and there you can see all of the files that Photoshop generated for me, and I'll take these and I will open them up so you can see them all. So here we have the background images that also have some effects applied to them. That's why they are having that big white background around. And here's the PNG file for the logo. Here is the JPEG version of the logo. Here's the login PNG, the GIF, and then our green background as well.
So as you can see, while this won't necessarily replace your Safe for Web dialog box, it's definitely something worth checking out if you have a multilayered file that you need to get stuff out and delivered quick and easy. So again, this is called the Adobe Generator feature and I highly recommend you check it out for your next web project.
Get unlimited access to all courses for just $25/month.Become a member
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.
Your file was successfully uploaded.