Start learning with our library of video tutorials taught by experts. Get started

Illustrator CS5 for Web and Interactive Design

Optimizing files to a specific file size


From:

Illustrator CS5 for Web and Interactive Design

with Mordy Golding

Video: Optimizing files to a specific file size

So I have a file open on my screen right now. It's some kind of a banner, maybe for an advertisement that will appear on a web page, and you know sometimes when you submit ads to web sites, they require that the file size be within a certain range, meaning they only want files that are no larger than 15K, for example, or 10K. I think on yahoo.com ad banners can be no larger than 11K. So these are all specifications or limits that you need to work within. Now of course we know that we can use the Save for Web dialog box to export files in a specific file format and also to export files and mess with the settings so that we can get to a smaller file size.
Expand all | Collapse all
  1. 6m 56s
    1. Welcome
      1m 33s
    2. Choosing Illustrator for web and interactive design
      2m 54s
    3. Illustrator and the web design workflow
      2m 7s
    4. Using the exercise files
      22s
  2. 40m 9s
    1. Pixel dimension vs. resolution
      4m 14s
    2. Pixel Preview mode and anti-aliasing
      5m 39s
    3. Taking charge of anti-aliasing
      5m 27s
    4. Choosing the right color management settings
      7m 25s
    5. Setting up important preferences
      6m 22s
    6. Setting up a workspace optimized for web design
      11m 2s
  3. 54m 5s
    1. Using the Web document profile
      3m 39s
    2. Creating custom document profiles
      9m 38s
    3. Using Illustrator's free web templates
      2m 33s
    4. Creating a sitemap or wireframe
      2m 50s
    5. Setting up an entire web site
      9m 33s
    6. Setting up a grid
      10m 37s
    7. Setting up an online ad campaign
      8m 13s
    8. Setting up icons for iOS
      2m 24s
    9. Setting up mobile content with Adobe Device Central
      4m 38s
  4. 32m 22s
    1. Understanding web-safe colors
      11m 50s
    2. Limiting the Color Guide to web-safe colors
      4m 53s
    3. Using Recolor Art to convert art to web-safe colors
      4m 54s
    4. Getting color inspiration from Adobe Kuler
      6m 48s
    5. Using Recolor Artwork to modify colors across a site
      3m 57s
  5. 56m 54s
    1. Using the Save for Web & Devices feature
      6m 44s
    2. Understanding the GIF file format and its settings
      10m 20s
    3. Understanding the JPEG file format and its settings
      7m 39s
    4. Understanding the PNG file format and its settings
      3m 21s
    5. Understanding the WBMP file format and its settings
      1m 18s
    6. Understanding the SWF file format and its settings
      4m 13s
    7. Understanding the SVG file format and its settings
      3m 41s
    8. Adjusting the dimensions of a graphic
      4m 46s
    9. Optimizing files to a specific file size
      4m 5s
    10. Modifying Save for Web & Devices output settings
      6m 51s
    11. Previewing content in Adobe Device Central
      3m 56s
  6. 56m 6s
    1. Setting point type in Illustrator
      4m 11s
    2. Setting area type in Illustrator
      5m 20s
    3. Formatting text quickly with paragraph styles
      14m 39s
    4. Overriding formatting with character styles
      3m 2s
    5. Controlling text anti-aliasing
      4m 50s
    6. Simulating the CSS box model
      11m 14s
    7. Adding cool reflections to text and graphics
      8m 26s
    8. Applying settings quickly with Graphic Styles
      4m 24s
  7. 35m 56s
    1. Understanding the concept of slicing
      3m 22s
    2. Creating slices manually
      4m 26s
    3. Creating slices from guides
      2m 45s
    4. Creating slices from objects
      7m 33s
    5. Understanding the different slice types
      4m 20s
    6. Applying settings to slices
      9m 20s
    7. Creating hotspots with image maps
      4m 10s
  8. 23m 35s
    1. Exporting static SWF files from Illustrator
      3m 35s
    2. Animated SWF: Converting Illustrator layers to SWF frames
      4m 3s
    3. Animated SWF: Using blends to define motion
      8m 35s
    4. Animated SWF: Adding static artwork to an animation
      3m 24s
    5. Animated SWF: Controlling time within an animation
      3m 58s
  9. 17m 13s
    1. Preserving slices and structure with PSD export
      6m 10s
    2. Working with Photoshop Smart Objects
      4m 35s
    3. Sharing color swatches between Illustrator and Photoshop
      2m 52s
    4. Generating an animated GIF file with Photoshop
      3m 36s
  10. 7m 28s
    1. Exporting HTML from Illustrator for use in Dreamweaver
      3m 31s
    2. Exporting CSS and DIVs from an Illustrator layout
      3m 57s
  11. 12m 37s
    1. Moving art between Illustrator and Fireworks
      6m 25s
    2. Using dynamic shapes from Fireworks
      3m 48s
    3. Sharing color swatches between Illustrator and Fireworks
      2m 24s
  12. 16m 7s
    1. Building files for use in Flash Catalyst
      4m 28s
    2. Creating a new Flash Catalyst project from an Illustrator file
      3m 40s
    3. Copying and pasting artwork between Illustrator and Flash Catalyst
      2m 4s
    4. Roundtrip editing between Illustrator and Flash Catalyst
      3m 36s
    5. Creating Flex skins for use in Flash Builder
      2m 19s
  13. 19m 48s
    1. Understanding symbols: The lifeblood of Flash
      4m 58s
    2. Symbols: Understanding 9-slice scaling
      4m 18s
    3. Setting text that will be used in Flash Professional
      3m 5s
    4. Moving artwork between Illustrator and Flash Professional
      7m 27s
  14. 1m 6s
    1. Goodbye
      1m 6s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Illustrator CS5 for Web and Interactive Design
6h 20m Intermediate Sep 24, 2010

Viewers: in countries Watching now:

In Illustrator CS5 Web and Interactive Design, Mordy Golding shows how to create pixel-perfect graphics for use in web sites, video compositions, and mobile apps. This course covers a wide range of workflows, from creating online ad campaigns, web sites, icons, to taking art from Illustrator to Flash Professional. Sharing tips, tricks, and creative techniques along the way, Mordy provides insight and instruction for taking projects from initial concept straight through to production. Exercise files accompany the course.

Topics include:
  • Getting perfectly sized pixel graphics from Illustrator
  • Setting up preferences in Illustrator for web design
  • Creating custom document profiles
  • Getting great color on the web
  • Understanding web graphic file formats (GIF, JPG, PNG, SWF, and SVG)
  • Setting great-looking type
  • Slicing artwork for various tasks
  • Creating Flash animations directly from Illustrator
  • Working with Photoshop Smart Objects
  • Exporting HTML and CSS from Illustrator
  • Integrating with Flash Catalyst
Subjects:
Web Web Graphics Interaction Design Prototyping Web Design
Software:
Illustrator
Author:
Mordy Golding

Optimizing files to a specific file size

So I have a file open on my screen right now. It's some kind of a banner, maybe for an advertisement that will appear on a web page, and you know sometimes when you submit ads to web sites, they require that the file size be within a certain range, meaning they only want files that are no larger than 15K, for example, or 10K. I think on yahoo.com ad banners can be no larger than 11K. So these are all specifications or limits that you need to work within. Now of course we know that we can use the Save for Web dialog box to export files in a specific file format and also to export files and mess with the settings so that we can get to a smaller file size.

But we also know that we are really trying to get ultimately is a file that looks great, but also is small in file size. Well the Save for Web dialog box actually has some logic inside of it. In fact, it's kind of a hidden feature that allows you to dial in the file size that you need, and Save for Web will do its best to try to find the settings that will match that file size. Let's see how that works. I am going to go here to the File menu and choose Save for Web & Devices and over here I can first start by choosing a certain file format, for example, say I know that I want it to be a GIF file.

So I am going to leave it set to GIF right now. Next, I am going to come over here to the flyout menu. It's a little icon that's kind of hard to see, because this line kind of intersects with it. But there is a little flyout menu right here and if you click on it, you can see some settings here and one of them is called Optimize to File Size. I am going to choose that option and a dialog box pops up and asks me what the desired file size I want this file to be. So, for example, if I need to work within their limit of maybe 11K, I'll punch in the value of 11K here, and I could choose that it should start with the current settings, meaning take a look at my Current Settings right now.

I've chosen GIF as my file format. What can you do to turn this into a GIF that will be less than 11K? And I can choose over here the current size. Right now we only have one image, so it doesn't apply, but I can choose different slices here as well. And now I am going to click OK. So you can see that now it doesn't look that great, but my file size is now 10.78K, which is under the 11K threshold that I have defined. And it automatically set my GIF to use eight colors with Selective color method and with a variety of different settings.

Now I am actually going to press and hold my Option button, or you can also hold the Alt button if you are on Windows, and I am going to click on the Reset button. Notice that when you hold down the Option or Alt key, the Cancel button changes to a Reset button, which lets you reset the entire dialog box. It's very helpful if you have made some kind of a change and you realize, nah, I don't want that, you don't have to Cancel & Close Save for Web and then re-launch it again. You could simply reset all of its settings. Well now let's see I know that I want a JPEG file. So I am going to click on the pop-up here and choose JPEG and then I can choose again from the flyout menu here to Optimize To File Size and maybe now I can go to 15K, for example, and choose OK and it'll give me the best possible settings here, Quality 38 for this particular JPEG file.

If I look here at the bottom of the window, I see it's now 14.76K again. It fits within the limits of the 15K threshold that I defined. Now once again I am going to hit the Reset button here. Again, Option or Alt+Click on Reset to go back to my original settings. I want to show you one other interesting setting that you have here. If I don't choose a particular setting here, I don't really care whether or not it's GIF/JPEG, I can go to the flyout menu, I could choose Optimize the File Size, and over here choose Auto Select GIF/JPEG. So now when I dial in a certain number, Illustrator will determine which actual file format to use, which might look best within that file size range.

And now I'll click OK and I'll see that Illustrator gave it a GIF file using 35 colors, and I get pretty good results. Unfortunately, this specific option, the ability to optimize to a specific file size, doesn't work with other file formats, for example SWF or PNG for that matter. However, if you know you need to create a GIF or a JPEG file and you know that it needs to fit within a certain file size, you can use this feature to save yourself some time.

Find answers to the most frequently asked questions about Illustrator CS5 for Web and Interactive Design.


Expand all | Collapse all
Please wait...
Q: In the chapter 5 movie, "Simulating the CSS box model," the author details the CSS box, but names the inner portion the margin and the outer portion the padding. This is reversed from what I’ve have seen elsewhere. Is this an error in the video?
A: This video does indeed contain an error where the author describes the margin and padding. The padding should be described as the area inside the border, and the margin the area outside the border.
Share a link to this course
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.
Upgrade now


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.

Upgrade now

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 for Web and Interactive Design.

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
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



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.

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.