FILE SIZES & TYPES OPTIMIZATION. The larger the file size, the better the quality, but the harder to upload and download. Designers are always mindful.

Slides:



Advertisements
Similar presentations
Put your photos into PowerPoint Insert, crop, and format pictures Youve got photos and you want to display them in a slide show. The first thing you need.
Advertisements

L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
A Digital Imaging Primer Nick Dvoracek Instructional Resources Center University of Wisconsin Oshkosh.
Raster Graphics vs. Vector Graphics
ETT 429 Spring 2007 Digital Photography/Scanners.
Information Technology Services North Dakota State University Lorna Olsen Get the Best Digital Images Possible What’s it all about anyway?
File Formats The most common image file formats, the most important for cameras, printing, scanning, and internet use, are JPG, TIF, PNG, and GIF.
 Scanned or digitally captured image  Image created on computer using graphics software.
Introduction to Graphic Arts Technology PRINT Versus WEB.
An Introduction to Scanning and Storing Photographs and Graphics Bryn Jones Aug 2002
Russell Taylor Week 3. Image File Formats - TIF, JPG, PNG, GIF - which to use? The three most common and important image file formats for for printing,
Graphics Ms. Brewer Spring Bellwork Edmodo – log on! Quiz? Take it if you need to! Policies and Procedures Powerpoint in Shared Folder! Get to Know.
Understanding Web Graphics Web Design Section 5-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
1 Graphics Talk v1.1, Apr-2004Murray Niman G6JYB PC Graphics - From Megabytes To Modest Bytes By Murray Niman G6JYB.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
DIGITAL GRAPHICS & ANIMATION Complete LESSON 2 Importing and Exporting Graphics.
An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd...
HOW TO SAVE FILES FOR WEB. Back up all your original files (make copies) so you don’t end up accidentally ruining your originals. Remember, web files.
Presentation Design: Graphics. More About Color “Bit depth” of colors -- This is based on the smallest unit of information that a computer understands.
File Sizes & Types. Size Matters Kilobytes (K) 1024 bytes = 1 kilobyte— a tiny trademark graphic or log might be a few kilobytes in size, whereas a full.
Photoshop Software Rasterized, file formats, and printing choices.
8 Using Web Graphics Section 8.1 Identify types of graphics Identify and compare graphic formats Describe compression schemes Section 8.2 Identify image.
Graphics and Animation Multimedia Projects Part 2.
Digital Darkroom I Theresa L. Ford. Objectives Basic Digital Image Terminology Screen Display of Pictures –Why are pictures too big for the screen? –Why.
Section 8.1 Create a custom theme Design a color scheme Use shared borders Section 8.2 Identify types of graphics Identify and compare graphic formats.
Graphics workshop Library and Information Services University of St Andrews.
Photoshop Photoshop works with bitmapped, digitized images (that is, continuous-tone images that have been converted into a series of small squares, or.
10 | Graphics COM 366 Web Design & Production. Native file format –Format native to software program –psd > PhotoShop default Preserves layers –Use “Save.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Vector vs. Raster Objectives:
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
 Scanned or digitally captured image  Image created on computer using graphics software.
Things to Remember When working with digital images.
Project Two Adding Web Pages, Links, and Images Define and set a home page Add pages to a Web site Describe Dreamweaver's image accessibility features.
Bitmap images Resizing bitmaps Vector images Why are there so many image file formats? Resolution and Scanning “Bits” and.bmp files Photo editors JPG file.
Editing Images for the Web. Optimization/Compression Graphics optimization is important for fast web page display.
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
Vocabulary Worksheet Answers
Image Editing Vocabulary Words Pioneer Library System Norman Public Library Nancy Rimassa, Trainer Thanks to Wikipedia ( help.
WEB GRAPHICS EXPLORING COMPUTER SCIENCE - LESSON 3-4.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Photoshop. Photoshop works with bitmapped, digitized images (that is, continuous-tone images that have been converted into a series of small squares,
13 June – Session : Graphics Different types of Graphics for the web Features of image editing software Good practice for image editing.
Understanding Images. Pixels pixels Every image is made up of very small squares called pixels, and each pixel represents a color or shade. Pixels within.
Section 8.1 Section 8.2 Create a custom theme Design a color scheme
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Understanding Web Graphics
Exploring Computer Science - Lesson 3-4
HOW TO SAVE & USE FILES For Print & WEB.
Vector (Shapes) vs. Raster (Pixels)
Exploring Computer Science - Lesson 3-4
2.01 Understand Digital Raster Graphics
Digital Photo editing with Photoshop
Computer Graphics Different Images File.
Graphics Basics Ellen Eyth.
Exploring Computer Science - Lesson 3-4
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Digital Images.
Image File Size and File Compression
Digital Images.
An Introduction to Scanning and Storing Photographs and Graphics
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Vector (Shapes) vs. Raster (Pixels)
FILE SIZES & TYPES For the Web.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

FILE SIZES & TYPES OPTIMIZATION

The larger the file size, the better the quality, but the harder to upload and download. Designers are always mindful of size and try to balance size against quality. Size Matters

Considerations  Web pages must download quickly or people will leave your site.  Therefore, web graphics must download quickly (graphics are big files requiring strategy to make small).  PowerPoints, Word docs, and.pdf’s are typically uploaded/downloaded and viewed electronically.  People will wait a short while for a download—but usually not a long while (depending on how badly they want the file).  accounts have limitations about the size of attachments.  Mobile devices (phones, notebooks) have limited hard drive space.  Dropbox is the best way to deliver files too big for (but even Dropbox has limitations and difficulties).

Units of Measure  1024 bytes = 1 Kilobyte (KB)  1024 kilobytes = 1 Megabyte (MB)  1024 megabytes = 1 Gigabyte (GB)  1024 gigabytes = 1 Terabyte (TB)

To Get An Idea (Examples)  Web Graphic20K  Web Page (total graphics) 100K (should not exceed)  PPT or DOC2000K (2 MB)  Print File20,000K (20 MB)  Big Photoshop File200,000K (2000 MB, 2GB)  Hard Drive SpaceGB’s and TB’s __________________________________________ Note: These are just random examples to show relative size, and I’m rounding off.

Optimization To “optimize” a file means to make it the best it can be in terms of file size and quality (considering that balance). To do this, you manipulate the dimensions, pixels, and file formats appropriately (as we will see). Original TIF 300dpi JPG High 72 dpi 200MB – original file 30K for web

1) Number of graphics in the file 2) The dimensions of the graphics 3) How many pixels are in the graphic 4) The file format selected What Impacts Size?

1. NUMBER OF GRAPHICS impacts size of a file

The Trade-off  The more graphics, the more impact, the bigger the size of the file.  You can limit the number of graphics to keep file sizes smaller.

2. DIMENSIONS OF GRAPHICS impact size of a file

Resize Images Exactly BEFORE You Insert Them  Too often, people insert a large image, and THEN resize it smaller, but the file still contains the data of the large image, so it’s unnecessarily large.  Use Photoshop to resize the image exactly before it’s inserted (go to Image > Image Size).

3. NUMBER OF PIXELS impacts size of a file

Pixels (also called “dots”)  Pixels are the tiny squares that compose an electronic image.  An image with pixels is called a “bitmap” image or “raster” image.

Pixels Per Inch (ppi) or Dots Per Inch (dpi)  The more pixels per inch used in an image, the better the quality AND the larger the file.  The fewer pixels per inch, the lower the quality AND the smaller the file.  An image that does not have enough pixels (because it’s blown up too large, e.g.) “pixellates,” meaning we can see the pixels.

Standards  72 dpi standard for web  dpi low quality print  200 dpi starting point for decent print  300 dpi very strong  Many scanners go up to 2,000 dpi (creates enormous files that can be enlarged)  Start a print project at 200 or 300 dpi—then, create a version at 72 dpi for Web and electronic use.

Always remember to save layers intact in your original authoring programs. (You can’t unflatten after you’ve closed). NOTE: Saving the Authoring File

Starting a New File  Always start a Photoshop image at the highest dimensions and largest number of pixels per inch you will ever need (e.g., 200 dpi for print).  You can always create a copy at lower dpi or dimensions, which takes away quality.  But you can’t add quality back in after it’s taken away.  Even if you increase the pixels per inch later, the image won’t get better because the image has already been degraded.

.PSD (File > New) Print: 200 ppi/dpi CMYK | Web: 72 ppi/dpi RGB

To Change Pixels or Dimensions: Image > Image Size

To Change Color Modes: Image > Mode > RGB

.AI (File > New) Print: CMYK | Web: RGB

To Change.AI Dimensions: Use Artboar Tool or File > Document Setup > Edit Artboards (change dimensions)

To Change.AI Color Modes: File > Document Color Mode

FILE FORMATS Impact size of a file

Authoring Files .psd files are authoring files are usually big (they have layers, high dpi, etc.), which is fine because it’s usually not necessary to transport them electonically (just keep then on your hard drive). .ai files are usually fairly small because they don’t contain pixels (unless you have imported pixel- based files), but these are usually not transported electronically, either (just keep them on your hard drive).

Common File Formats Used .jpg and.gif are small, low-quality (“optimized”) file formats for the web and should not be used for professional print jobs. .tif is a big, high-quality file format used for print and should never be used on the web or in documents to be viewed on screen (because it’s too big).

Consider the type of graphic Consider the purpose of the graphic HOW TO CHOOSE FORMATS

For Web, PPT, Word docs, and.pdf’s for electronic viewing.  JPEG GIF

Go to File > Save for Web, and select.jpg or.gif

WHEN GOOD GRAPHICS WHEN GOOD GRAPHICS GET SAVED BADLY...

Dithering  In a dithered image, colors that are not available in the palette are approximated by a diffusion of colored pixels from within the available palette.  In other words, your software attempts to compensate and fill in the gaps when there’s too much compression or limited color scheme.  Sometimes, this looks really bad.

Original dithered.jpg dithered gif 8 colors dithered gif 4 colors Dithering happens when: - a.jpg is saved at a poor quality (too much compression) - you save a.jpg as a.jpg (recompress it) instead of starting with.psd. - a photo saved as a.gif with few colors (dots appear). Dithering is different from pixellation. Dithering occurs when photos are not optimized properly. Pixellation happens when photos are blown up too large and there are not enough pixels per inch.

How should this have been saved: jpg or gif? How was it saved instead?

Size Issues: What file format should this be?

Extension FormatUsed for`Loss`# ColorsTransparency?.jpg Joint Photographic Experts Group Continuous tone (e.g., photos) Web LossyThousands NO.gif Graphic Interchange Format (Compuserve) Solid colors (e.g., cartoons) Web Loss less transpa rency Yes, GIF-8 (jaggies).png Portable Network Graphics format Web (continuous tone or solid colors) Lossless Thousa nds Yes (no jaggieds) but big file.tif Tagged Image File Format Print Only LosslessThousandsYes FILE FORMATS

What is a.png?  A.png does everything a.jpg OR.gif can do PLUS it creates beautiful transparency (which we’ll see in a second).  The drawback is that.png tends to be a somewhat larger size than.gif or.jpg, so we don’t use it often, but the one thing it does better than any other file format is “transparency.”

TRANSPARENCY

Transparency  In Photoshop, transparency is denoted with a checkerboard.  The background layer is turned off.

Transparency with odd shapes  Transparency around a graphic allows it to be placed on any color page.  This logo is surrounded by white, which is fine for a white page, but not a blue page.... It needs transparency.

How to Save a.png with Transparency:  Open your file in Photoshop and turn off the background layer.  You will see a checkerboard in the transparent areas.

Save a.png with transparency:  Go to File > Save for Web and select.png 24. Check “transparency.”

.gif: “The dreaded white jaggies”

White jaggies are undetectable on white background, but that defeats the purpose of transparency for use with any colored background. Solution: Use a 24-bit png

Avoid Confusion:  Transparency is often used in Photoshop compositions of all sorts, but you don’t have to use a.png unless you can SEE the checkerboard showing in your composition and the file is intended for web or e-viewing.  If you do not SEE a checkerboard in your composition, it means you already have a background color or image you are using in the file. When you insert the graphic into a document or web page, the background of that page will not show through.

Quiz Yourself: How would you save this?  Photo of your sister on the web  Black and White logo on the web without transparency  Black and white logo with transparency  Image for National Geographic

QUESTIONS?