We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Adobe Illustrator - saving as .png

Medium Priority
504 Views
Last Modified: 2016-01-14
Adobe Illustrator newb here...

I've created a logo. My understanding is that AI is vector based, which means I can scale w/o losing quality.

When I save for web using the .png format, "jaggies" are introduced, which flies in the face of "vector-based".

What am I doing wrong?

Thank in advance.
Comment
Watch Question

Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014

Commented:
The AI format is vector based, PNG, JPG, and GIF are all pixel based.  If you save your AI file into one of those formats, it is converted to the pixel based format you have selected and it is no longer vector based.

Author

Commented:
Thanks. So how do the pros deal with this? When I look at polished websites, the logos don't exhibit the jaggies...
Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014

Commented:
Frankly, it depends.  Any pixel based image will show jaggies or just plain dots if you blow them up enough.  The best thing is to export your AI as a large image and then use scaling in Photoshop to reduce the image to the size you want.  Photoshop (and any other image program) will do the anti-aliasing to minimize the jaggies when it reduces the number of pixels.  There are usually several different methods used to scale images and you might want to try more than one to see which one works best for your image.
Zac HarrisSystems Administrator
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Thanks to all. So the artboard I'm working with is roughly the size of the logo (appx 500 x 150 px). I figured that with a vector based program, I can scale freely w/o consequences.

I haven't tried exporting as a large file to Photoshop (and will try that next), but here's what saving as .png 24 looks like. Note that the roofline is severely jagged, as is the text:

http://420guardian.com/
Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014

Commented:
One of the other problems is that you are trying to use an image with a transparent background which prevents anti-aliasing.  Anti-aliasing only works when the image program can create pixel colors that are in between the foreground and background colors.  You have to use the background color from the page as the background in the image.
Zac HarrisSystems Administrator

Commented:
Try applying the anti-aliasing in the Save for Web and Device option in Illustrator

Author

Commented:
Sorry - but I'm not seeing that option under the .png 24 save mode.

I'm using v 5.5

Author

Commented:
Dave - so is it safe to assume that the pros don't output logos from AI?

They export it to PS, modify, then save as .jpg?

Author

Commented:
If the original artboard is something like 600 x 200, and I resize during output to .png as something like 500 x 150, that doesn't affect quality, does it?
Dan CraciunIT Consultant
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Thanks Dan. My logo has an image along with text (as I imagine many others do).

So if I'm understanding you correctly, I should be using PS to create the logo, then output to .png from PS. That will give me the best results?
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
First of all, I'd like to thank all the people who were generous with their time. I think in my case, the "art optimized" did the trick. It really smoothed out the text, which was my biggest gripe.

I'm still a little confused as to the platform of choice for the pros. I'm guessing that the consensus is PS for logos?

The SVG format sounds hugely promising, but with Joomla, it doesn't appear that I can choose that format for images, unless I'm missing something.

Author

Commented:
Huge thanks to everyone.
CERTIFIED EXPERT

Commented:
> Dave Baldwin
>You can't anti-alias (to smooth the edges) when you have a transparent background.

If there is one thing I have learned in my almost thirty years of using Adobe Illustrator, is that I never know all there is, and often what I think I know, I've got wrong. However, I use Illustrator almost everyday and those parts of the program that I use, I feel confident that I know pretty well.

If you will agree with me that anti-aliasing is created by blending the object color, with the background color to produce a gradation of colors, then that is the purpose of the alpha-channel in the PNG-24 format. In fact, the alpha-channel is just about the only reason to use PNG format, in my humble opinion. The PNG-24 allows the user to set a pixel transparency to 0, making the pixel completely transparent, or 256, making it completely opaque, or any whole integer in between.

When saving to a JPG format (as an example) the anti-aliasing algorithm calculates the degree of blending between the object color and the background color. With PNG-25, the anti-aliasing algorithm calculates the degree of blending between the object color and full transparency. When a PNG-25 is displayed, the browser calculates the mix of background color with the foreground color using the transparency setting for that pixel.

The result to the viewer, is the same--a pixel that is part foreground color and part background color. The only difference is in a jpeg, this color is set beforehand and is fixed to one color. In the PNG-24, the color is calculated by the browser on the fly.

Non anti-aliased jpg with white backgroundAnti-aliased jpg with white backgroundPNG-24 file without anti-aliasing and transparent background PNG-24 file with anti-aliasing applied and transparent background
If you know otherwise, please set me straight. I am always willing to correct my misconceptions.

Cheers,

- David Brugge
Dan CraciunIT Consultant
CERTIFIED EXPERT

Commented:
@David: thanks.
I saw Dave's comment yesterday but was too busy at that moment to export an aliased png and then I forgot.

Author

Commented:
Can anyone give me a link to a resource that touches on the topic of how to create a logo? Something like "logos for dummies"?
Dan CraciunIT Consultant
CERTIFIED EXPERT

Commented:
Here's a short article on the process: http://blog.hubspot.com/marketing/creating-logos-design-process

It's not an easy topic. If you want to be good at it, you'll probably need classes or a tutor.
At the very least you'll need to read a LOT of books/magazines on the subject.

BTW, the fact that you know or not how to use Illustrator/CorelDraw/LogoMaker5000 has little relevance on if you're a good logo designer or not.
Logos were used long before computers and pen and paper are still the fastest ways to scribble out your ideas.

Author

Commented:
Understood. I actually don't think I have a real knack for this stuff. It's painfully time-consuming because I don't have artistic sensibilities. But I'm hoping to shave off some of the "trial and error" time. For example, I'd like to understand what colors work well with certain colors, etc., instead of cycling through 20 of them, lol.

Author

Commented:
What is "LogoMaker5000"?. Googling it doesn't return anything specific. Thanks.
Dan CraciunIT Consultant
CERTIFIED EXPERT

Commented:
That's easy. You just need to ask the right questions.

Ta-daa: https://color.adobe.com
Dan CraciunIT Consultant
CERTIFIED EXPERT

Commented:
LogoMaker5000©®™ is the golden standard on logo making: you input your ideas and out comes the finished product.

It's a joke...

Author

Commented:
LOL - that's what I figured. I just had to confirm.
Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014

Commented:
David Brugge, thanks.  What program did you use to do that?
CERTIFIED EXPERT

Commented:
> Dave Baldwin, that was Illustrator.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.