Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Creating pixel-perfect web graphics

From: Illustrator CS5 New Features

Video: Creating pixel-perfect web graphics

Many designers choose to use Illustrator for creating Web graphics and any graphics destined to be displayed on a screen. However, there are some challenges in creating pixel-perfect Web graphics. It seems that when you create graphics inside of Illustrator and then you export them for use on the Web, artwork, at times, appears to be fuzzy or soft. The reason for this is something called anti-aliasing. Because screens display artwork at a much lower resolution than you would see in print, artwork goes through this process called anti-aliasing that slightly blurs the edges of graphics to avoid a jagged edge appearance.

Creating pixel-perfect web graphics

Many designers choose to use Illustrator for creating Web graphics and any graphics destined to be displayed on a screen. However, there are some challenges in creating pixel-perfect Web graphics. It seems that when you create graphics inside of Illustrator and then you export them for use on the Web, artwork, at times, appears to be fuzzy or soft. The reason for this is something called anti-aliasing. Because screens display artwork at a much lower resolution than you would see in print, artwork goes through this process called anti-aliasing that slightly blurs the edges of graphics to avoid a jagged edge appearance.

Now, traditionally, with vector graphics, we know that we can zoom into artwork. For example, I'll zoom in really close in this area, and I'll always see nice, clean, sharp graphics. However, Illustrator also features something called a Pixel Preview mode that allows you to see what your artwork looks like after it goes through this anti-aliasing process. It's a great way for you to see what your artwork looks like when it's going to be displayed on the Web. To turn that Preview mode on, you would to go to the View menu and choose something called Pixel Preview. In doing so, you'll see the actual pixels and, more importantly, the result of the anti-aliasing.

What was a clean sharp line before has now been softened, giving it a blurry appearance. Well, several new features have been added now to Illustrator to help you with this. First of all, notice that you can actually now view the pixel grid. When you're in Pixel Preview mode, as you zoom into artwork, you'll actually see exactly where each pixel is. As you zoom out, at different zoom levels, you'll see that that grid disappears. It only appears when you zoom in closer to your artwork, similar to the way that Photoshop works. However, while this clearly displays where the problems are, it doesn't really help you fix them.

And that's where this next feature comes into play. I'll go ahead now and select this rectangle right here. I'll go to the Window menu and open up my Transform panel. Normally, you'd use the Transform panel to adjust the coordinates or the width and height of your artwork. But you'll notice that there's a new option at the bottom of the Transform panel called Align to Pixel Grid. When you have artwork selected and you choose this option, Illustrator will automatically snap your artwork directly to the grid itself. In doing so, you can see that the anti-aliasing goes away, and I get a nice, clean, sharp line. If I zoom out just a bit here, you'll see that this artwork looks sharp and clean as opposed to the others, which look a little bit blurry and fuzzy.

You can certainly just select all of your artwork at once and turn that option on to apply it to all of your artwork. This ensures that your artwork will look crisp and clean when exported for the Web. This is a fantastic feature that you can apply on an as-needed basis for each piece of artwork. But you may find it tedious to apply this setting to all of your artwork. Let me go ahead and select all this artwork now and actually disable that option and show you that there are two other ways, inside of Illustrator now, to automatically make sure that your artwork is going to be aligned to that Pixel Grid. The first way is via the use of symbols.

If you select your artwork here - I'm just going to go ahead and deselect the background here so just this artwork you selected - I can turn that into a symbol, but notice there's an option here called Align to Pixel Grid. By choosing this option, I'll be assured that no matter where I place that symbol, it will always snap to that pixel grid, ensuring the best anti-aliasing results. I'll click OK, and I'll show you one other example of how Illustrator can ensure that your artwork is always going to be perfect. I'm going to go to the File menu here and choose to create a new document. In the New Document dialog box, if I click on the Advanced button, I'll see an option here called Align New Objects to Pixel Grid.

If I check this box, I'm ensured that every piece of art that I draw in that document will always snap perfectly to the pixel grid. You'll notice if you go to the New Document profile and choose the Web profile, that option is automatically checked. So, really, any time that you create a new Web document inside of Illustrator, you're assured to get nice, crisp and clean graphics that will display beautifully in a Web browser or any computer screen.

Show transcript

This video is part of

Image for Illustrator CS5 New Features
Illustrator CS5 New Features

30 video lessons · 19638 viewers

Mordy Golding
Author

 
Expand all | Collapse all
  1. 9m 0s
    1. Welcome
      1m 21s
    2. Comparing Illustrator CS4 and Illustrator CS5
      7m 39s
  2. 27m 2s
    1. Defining perspective grids
      7m 48s
    2. Drawing artwork in perspective
      8m 46s
    3. Mapping flat artwork to perspective grids
      10m 28s
  3. 15m 36s
    1. Creating variable-width strokes
      4m 26s
    2. Using variable-width profiles
      4m 26s
    3. Creating perfect dashed lines
      3m 30s
    4. Easily adding arrowheads to strokes
      3m 14s
  4. 16m 8s
    1. Simulating real brush strokes with the Bristle brush
      11m 46s
    2. Using enhanced art and pattern brushes
      2m 55s
    3. Applying variable-width settings to brushstrokes
      1m 27s
  5. 12m 10s
    1. Drawing Behind and Draw Inside Drawing modes
      4m 17s
    2. Creating complex art easily with the Shape Builder tool
      6m 5s
    3. Easily joining multiple paths
      1m 48s
  6. 11m 25s
    1. Working with symbols more easily
      6m 56s
    2. Using 9-slice scaling options with symbols
      4m 29s
  7. 7m 55s
    1. Using the new Artboards panel
      4m 13s
    2. Setting individual artboard rulers
      2m 35s
    3. Printing artboards more easily
      1m 7s
  8. 11m 47s
    1. Creating pixel-perfect web graphics
      3m 43s
    2. Creating crisp readable text for the web
      1m 58s
    3. Quickly exporting individual slices
      1m 50s
    4. Integrating with Adobe Flash Catalyst
      4m 16s
  9. 10m 11s
    1. Select artwork through other objects
      2m 36s
    2. Using new paste commands
      1m 57s
    3. Applying resolution-independent raster effects
      2m 55s
    4. Specifying transparency within gradient mesh
      1m 8s
    5. Creating editable trim marks
      1m 35s
  10. 17s
    1. Goodbye
      17s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Illustrator CS5 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

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.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.