Graphics on the Web How much do you want to know?? Terry Griffin.

Slides:



Advertisements
Similar presentations
Nice Calm Scene. (You’ll need it.). Skills Getting files off of the camera or scanner Getting files off of the camera or scanner Archiving Archiving Choosing.
Advertisements

1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Image Sizes Graphic Tips Image Tag Attributes Centering Images.
Graphics and Animation Chapter 8. 8 Graphics in Multimedia Graphics are an element that virtually all multimedia applications include.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
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.
1 Creating Web Graphics Outline 2.1 Graphics Types 2.2 Vector Graphics 2.3Bitmapped Graphics 2.4Graphics for the Web 2.5 GIF (Graphics Interchange Format)
GRAPHICS/IMAGES INFSCI Source: Learning Web Design by Jennifer Niederst RobbinsJennifer Niederst Robbins Creating Images:  Scanning  Be aware.
Task 01 – Explain how different types of graphical images relate to file formats, file conversions, formats and compression. Emily Riley.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
THE COLORS OF LIGHT RED, GREEN and BLUE
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
Presentation Design: Graphics. More About Color “Bit depth” of colors -- This is based on the smallest unit of information that a computer understands.
Graphics and Animation Multimedia Projects Part 2.
Web Image Basics Comp 140 December 2. Vector Graphics Can be repositioned or resized – Will not diminish output quality Typically stored in AI, EPS, PICT.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
Image formats. Basic terminologies… Pixels: Pixels are the building blocks of every digital image. a pixel is a single point in a graphic image. Resolutions:
Computer Images Can store color info about each pixel, but makes file BIG Compression for Web 15.
GRAPHIC DESIGN – PHOTOSHOP AND FLASH Instructor: Qumber Hussain Start: 24 Aug 2009 End: 28 Sept 2009 Days/Time: Mon & Wed 1400 – AUGUST 2009 –
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
Web Graphics. Colours and Display Graphics and Modems 28.8kbps = 3.6 KB per second 36 KB takes 10 seconds to load. Pixels and color.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Types of Graphics  Vector Individual scalable objects defined by mathematical equations  Bitmap Pixels (tiny, single-colored square) in a grid Most.
Graphic Format Factors
Color and Images. Color The natural colors we see and the colors we see on computer monitors are different. CMYK -natural RGB -monitor.
Using the Sony DSC-P52 Camera Sunday, December 06, 2015.
Images. Digital Images Rectangular arrays of pixel data Pixel - picture element, smallest addressable part of the frame buffer. Color depth - the depth.
FILE TYPES FOR WEB DESIGN 1 HOW SHOULD I SAVE?. GRAPHICS INTERCHANGE FORMAT (GIF) Best used for flat-color, sharp-edged art or text Clip art, logos Compression.
Web Graphics. Web graphics Bandwidth is king Graphics must load quickly Graphics must be optimized All other components except for text, gif and jpg are.
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.
Graphics Concepts Presentation
Digital File Formats By Ali Aslam. JPEG JPEG Stands for Joint Photographic Experts Group. JPEG uses a lossy compression routine. Lossy compression means.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
GIF vs. JPEG GIF and JPEG (JPG) image formats are different. You should know which to use when. Here are some examples.
Image File Formats Which one is right for me?. The Only Three Image Formats Your Will Ever Need: Names Jpg “Joint Photographic Experts Group” Png “Portable.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
2.01 Investigate graphic image design.
Graphic Format Factors
2.01 Understand Digital Raster Graphics
Understanding Web Graphics
Graphic Format Factors
Web Graphics 101 Web Image File Formats Image Optimization
2.01 Understand Digital Raster Graphics
Image Formats.
Computer Graphics Different Images File.
1.01 Investigate graphic types and file formats.
2.01 Investigate graphic image design.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Image File Size and File Compression
Graphics and Animation
Graphics Basic Concepts.
2.01 Understand Digital Raster Graphics
Graphic Format Factors
Graphic Format Factors
Photoshop: Creating and Preparing Images for the Web
2.01 Investigate graphic image design.
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
Graphic Format Factors
2.01 Investigate graphic image design.
Graphic Format Factors
2.01 Investigate graphic image design.
2.01 Investigate graphic image design.
Graphic Format Factors
Graphic Format Factors
2.01 Investigate graphic image design.
Graphics and Animation
2.01 Investigate graphic image design.
Graphic Format Factors
Presentation transcript:

Graphics on the Web How much do you want to know?? Terry Griffin

Prerequisites Bits Bits Bytes Bytes

Everyone places pictures on the web.Everyone places pictures on the web. Somepeople place pictures on the web.Some people place pictures on the web. At least a few individuals place pictures on the webAt least a few individuals place pictures on the web Graphics on the Web

Why should you care?Why should you care? Adds a dimension to your web site Adds a dimension to your web site If you are going to make a web page, then you should do it right If you are going to make a web page, then you should do it right

Overview What are graphics??What are graphics?? ImagesImages LogosLogos BackgroundsBackgrounds Any colorful enhancement of a web pageAny colorful enhancement of a web page

Overview

Concerns Download time Download time Blurry pictures Blurry pictures Squished pictures Squished pictures Placement and organization (another talk) Placement and organization (another talk)

Terminology Picture Size (which picture – file is bigger??)Picture Size (which picture – file is bigger??) 270 kilobytes 270 kilobytes 1.1 megabytes 1.1 megabytes

Terminology Bit DepthBit Depth 24 bits 16 bits 16 bits 8 bits

Terminology Bit DepthBit Depth Grayscale (8 bits) 1 bit

Terminology Bit Depth Bit Depth 24 bits = 2 24 = (millions of colors) 24 bits = 2 24 = (millions of colors) 16 bits = 2 16 = bits = 2 16 = bits = 2 8 = bits = 2 8 = bits = 2 8 = 256 (shades of gray) 8 bits = 2 8 = 256 (shades of gray) 1 bit = 2 colors (black / white) 1 bit = 2 colors (black / white)

Terminology Pictures are made of Pixels Pictures are made of Pixels What’s a Pixel? What’s a Pixel? Smallest piece of a picture. Smallest piece of a picture. Represents a single color Represents a single color More pixels = better clarity More pixels = better clarity

Pixels

PixelsRGB RGB

Terminology Compression Compression Reduces the size (disk space) of an image. Reduces the size (disk space) of an image. Typically by reducing bit depth. Typically by reducing bit depth. Usually not noticeable Usually not noticeable 198 kilobytes 68 kilobytes

Terminology Compression Compression Lossy Compression Lossy Compression Reduces file size by “removing” pieces of the pictureReduces file size by “removing” pieces of the picture Actually just condenses the picture, not reversibleActually just condenses the picture, not reversible Usually not noticeable by the human eyeUsually not noticeable by the human eye Lossless Compression Lossless Compression Reduces file size, but retains the original image informationReduces file size, but retains the original image information Relies on the repetitive nature of particular imagesRelies on the repetitive nature of particular images ReversibleReversible

Picture FormatsBmpGifJpgPng And many more….

JPEG/JPG (Joint Photographic Experts Group ) JPEG/JPG (Joint Photographic Experts Group ) JPG is a lossy compression technique that is designed to compress color and grayscale continuous-tone images. JPG is a lossy compression technique that is designed to compress color and grayscale continuous-tone images.lossy compressionlossy compression The information that is discarded in the compression is information that the human eye cannot detect. The information that is discarded in the compression is information that the human eye cannot detect. JPG images support 16 million colors and are best suited for photographs and complex graphics. JPG images support 16 million colors and are best suited for photographs and complex graphics. The user typically has to compromise on either the quality of the image or the size of the file. The user typically has to compromise on either the quality of the image or the size of the file. JPG does not work well on line drawings, lettering or simple graphics because there is not a lot of the image that can be thrown out in the lossy process, so the image loses clarity and sharpness. JPG does not work well on line drawings, lettering or simple graphics because there is not a lot of the image that can be thrown out in the lossy process, so the image loses clarity and sharpness. Picture Formats Busy slide #1

GIF (Graphics Interchange Format ) GIF (Graphics Interchange Format ) Unlike JPG, the GIF format is a lossless compression technique and it supports only 256 colors. Unlike JPG, the GIF format is a lossless compression technique and it supports only 256 colors.lossless compressionlossless compression GIF is better than JPG for images with only a few distinct colors, such as line drawings, black and white images and small text that is only a few pixels high. GIF is better than JPG for images with only a few distinct colors, such as line drawings, black and white images and small text that is only a few pixels high.pixels With an animation editor, GIF images can be put together for animated images. With an animation editor, GIF images can be put together for animated images. GIF also supports transparency, where the background color can be set to transparent in order to let the color on the underlying Web page to show through. GIF also supports transparency, where the background color can be set to transparent in order to let the color on the underlying Web page to show through. Picture Formats Busy slide #2

PNG(Portable Network Graphics) Not supported by all browsers. Not supported by all browsers.browsers PNG developed as a patent-free answer to the GIF format, also an improvement on the GIF technique. PNG developed as a patent-free answer to the GIF format, also an improvement on the GIF technique. An image in a lossless PNG file can be 5%-25% more compressed than a GIF file of the same image. An image in a lossless PNG file can be 5%-25% more compressed than a GIF file of the same image. PNG builds on the idea of transparency in GIF images and allows the control of the degree of transparency, known as opacity. Saving, restoring and re-saving a PNG image will not degrade its quality. PNG builds on the idea of transparency in GIF images and allows the control of the degree of transparency, known as opacity. Saving, restoring and re-saving a PNG image will not degrade its quality. PNG does not support animation like GIF does. PNG does not support animation like GIF does. Picture Formats Busy slide #3

Making a choice This 200 x 200 pixel image saved as:This 200 x 200 pixel image saved as: Gif = 40 kbytesGif = 40 kbytes Jpg = 117 kbytesJpg = 117 kbytes ??????

Choice This 1024 x 768 pixel image saved as:This 1024 x 768 pixel image saved as: Gif = 258 kbytesGif = 258 kbytes Jpg = 60 kbytesJpg = 60 kbytes ??????

More Terms... CropCrop

More Terms... ResizeResize

More Terms... SkewSkew

More Terms... DitherDither

Why does all this matter?? Over-compressed or skewed images have a poor look. Over-compressed or skewed images have a poor look. Under-compressed images download slow. Under-compressed images download slow.

What’s the bottom line?? Save photographs as jpg. Save photographs as jpg. Save images (graphs, charts, formulas, etc.) as gif. Save images (graphs, charts, formulas, etc.) as gif. Edit in gif, not jpeg. Edit in gif, not jpeg. Don’t force an image to be something it’s not!! Don’t force an image to be something it’s not!!

Web Examples Example 1 Example 1 Example 1 Example 1 Example 2 Example 2 Example 2 Example 2 Example 3 Example 3 Example 3 Example 3