Viewers: in countries Watching now:
Join Justin Seeley, lynda.com staff author and design enthusiast, each week for a new 5-minute, self-contained tutorial that you can use to instantly improve your design workflow. This series covers techniques for print, digital, and web design, addressing the tools that creative professionals like you use most. Learn new ways to leverage layer styles and vector shapes in Adobe Photoshop, work more efficiently with text in Illustrator, and embed videos and even tweets in WordPress posts, and much more. Check back each week for a new installment, and a new design hack.
Hi there, welcome back to Creative Quick Tips. My name is Justin Seeley and today we're going to be discussing a new Photoshop plug-in that I just recently started playing with, called PNG hat. And PNG Hat is a really cool little plug-in that allows you to quickly and easily export out. Assets for your iOS, Android, or even website development projects. And so you can go to pnghat.madebysource.com to find out more information. It is kind of expensive. It's 40 bucks. But if you're not currently using Photoshop CC, which does have a generator feature which does a lot of the work that this plug-in does,.
This is going to be a great plug in for you. So this works in Photoshop CS5 and up. And it does work on both Mac and PC. So if you have that, and you need something like this, I highly recommend that you check it out. So, let's go over into Photoshop now and see exactly how it works. So here I am in Photoshop, i've got PNG hat already installed. And if I go to the window menu, extensions. I can find PNG hat there. And it's just a little top hat over here. And so basically what it allows you to do is select a destination for the file you're creating. So you can save it somewhere in the cloud, you can save it locally.
Or you can save it using Base64. You can also choose whether or not you want to use PNG or JPG. There is no option for gif. But PNG and JPEG are generally the basic formats that you find on the web or in app development. You can set the location of the file right here. You can tell it whether or not you want it to trim all of the transparent pixels around an object. So, no need for slicing, no need for copying and pasting into new documents. It does it all for you. Also, you can control the scale, so if you need to do at 2x documents for retina displays, very easy to do that.
Just change the scale to 200%, and then save it out as at 2x. Then, all you have to do is select a layer or a layer group, and you can export those layers. If you want to change the setting for this, go down here to this little gear icon, and you can turn on things like Prompt for file name, you can change whether or not you want PNG8's or PNG24's. You can choose whether or not it optimizes the PNG. You can set whether or not you want progressive jpeg. You can also change jpeg quality. Now, down here at the bottom you can also specify things like what kind of code PNG hat generates.
It actually generates code for HTML, CSS, Canvas, Android and iOS. Now, if you're not familiar with those languages, it probably is not going to be beneficial to you. But if you are a developer this could be a great starting place for you. It's not going to replace your development environment by any means. So, don't even think that. It's just going to help you set certain parameters for basic things like button sizes and that kind of thing. If you want more information about this. The PNG hat plugin does come with this interesting instructions.psd document.
And if you walk through this it's actually got several different pieces. So, its got in the layers panel, you've got an introduction. You've got how to export assets. You've got export options, which walks you through all these different things. If you expand these, there's actually multiple sections in each layer group. So, in this case it's cover server upload, local export, bay 64, file formats, trimming, scaling, selection, canvas and separate export, which is really interesting. So, you can read all about, all of this information in this instructions.psd document.
It is just like a Read Me file that works like a Photoshop document. It is really cool. So, when you're ready to make an image out of this, just open the little top hat, close your settings, and then what you're going to do is select what you want to export. So in this case, I'm going to export out the Facebook button. And I'll just go ahead and click Export Selected Layers. And it's going to prompt me for my file name, because I told it to. So I'm just going to call this, facebook_btn. Hit ok, and it's going to export out that PNG. Very simple, didn't have to go in any dialogue box or anything.
I'm still working right within Photoshop. If I go out here, here's the Facebook button. You can see when I bring it in, very nice, still clean and crisp text at 100% corners look nice, everything's good. What I found interesting about this plugin is that the file size is just a little bit smaller than Photoshop's default export, and the PNG 8 optimization in this plugin I think is really good. You're not going to see as much of the usual banding around the outside of a transparent image that you would see with a PNG 8 export.
It's really refined, so I highly recommend that you check this out. And for exporting out multiple assets very quickly, I think this is a great thing to start playing with. As Photoshop's generator feature becomes more and more refined, I think they'll get here eventually. But for now, I think something like this is a great investment at just $40 to get your workflow sort of jump started and help you export out assets very quickly and easily. So check it out, it's called PNG hat. And it's available right now for Mac, PC, and Photoshop CS5 and up.
Find answers to the most frequently asked questions about Creative Quick Tips .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
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.