Web graphics Discussion Session August 16, 2000 Discussion Session August 16, 2000.

Slides:



Advertisements
Similar presentations
Dale & Lewis Chapter 3 Data Representation. Representing color Similarly to how color is perceived in the human eye, color information is encoded in combinations.
Advertisements

Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Image Processing, Illustration (Drawing), Paint Programs, and Scanning Dr. Warren C. Weber Cal Poly Pomona.
ETT 429 Spring 2007 Digital Photography/Scanners.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
Graphics in the web Digital Media: Communication and Design
Image Representation CS105. Data Representation Text representation – ASCII character set – Unicode – Data compression Images!
Introduction to Computer Graphics
Graphics and Animation Chapter 8. 8 Graphics in Multimedia Graphics are an element that virtually all multimedia applications include.
Vector vs. Bitmap SciVis V
Graphics and Images September 28, Unit 3.
Photoshop: Designing Graphics for the Web Christine Vucinich & Vicki Weidler ITS Training Services 224 B Computer Building University Park, PA 16802
V Obtained from a summer workshop in Guildford County July, 2014
Digital Images. Scanned or digitally captured image Image created on computer using graphics software.
 Scanned or digitally captured image  Image created on computer using graphics software.
Data starts with width and height of image Then an array of pixel values (colors) The number of elements in this array is width times height Colors can.
Internet as a resource tutorial – part steps, 3 different actions 1. Search content 2. Use Text 3. Use Images.
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)
WEB GRAPHICS. The Pixel Computer displays are comprised of rows and columns of pixels. Pixels are indivisible. Some common screen resolutions are:, 600.
GRAPHICS/IMAGES INFSCI Source: Learning Web Design by Jennifer Niederst RobbinsJennifer Niederst Robbins Creating Images:  Scanning  Be aware.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Images and the Web web graphics. web graphics: constraints Due to the constraints imposed by varying degrees of Internet bandwidth, designing images for.
Faculty of Sciences and Social Sciences HOPE Website Development Graphics Stewart Blakeway FML 213
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Lecture 4 - Introduction to Computer Graphics
Digital Images Chapter 8, Exploring the Digital Domain.
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.
Vector vs. Bitmap
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Photoshop Software Rasterized, file formats, and printing choices.
Digital Image: Representation & Processing (2/2) Lecture-3
1 JPEG v JPEG stands for Joint Photographic Experts Group v Superior for continuous tone, photographic color images not good on sharp-edges or flat-colornot.
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.
Digital Cameras And Digital Information. How a Camera works Light passes through the lens Shutter opens for an instant Film is exposed to light Film is.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
GRAPHICS. Topic Outline What is graphic. Resolution. Types of graphics. Using graphic in multimedia applications.
CS- 375 Graphics and Human Computer Interaction Lecture 1: 12/4/1435 Fundamental Techniques in Graphics Lecturer: Kawther Abas.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Optimizing Web Graphics Session #6 INP150. Image Types Types  Bitmap / Raster---dots  Bitmap images are made of individual pixels arranged in patterns.
Types of Graphics  Vector Individual scalable objects defined by mathematical equations  Bitmap Pixels (tiny, single-colored square) in a grid Most.
Chapter 2 File Format Objectives (1 of 2) Identify the difference between vector based graphics and bitmap-based graphics Clarify bitmap and vector graphic.
Unit 1: Task 1 By Abbie Llewellyn. Vector Graphic Software (Corel Draw) Computer graphics can be classified into two different categories: raster graphics.
 Scanned or digitally captured image  Image created on computer using graphics software.
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
HTTP transaction with Graphics HTML file + two graphics files.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Guilford County SciVis V104.03
CHAPTER 21: IMAGES. IMAGE SOURCES 3 options: Create your own images Find images Hire someone to make images.
Efficient Game Graphics From Flash MX 2004 Game Design Demystified.
Vector vs. Bitmap. Vector Images Vector images (also called outline images) are images made with lines, text, and shapes. Test type is considered to be.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Binary Representation in Audio and Images
Vector vs. Bitmap.
2.01 Understand Digital Raster Graphics
Digital Photo editing with Photoshop
Raster Images CPSC 1030.
LET’S LEARN ABOUT GRAPHICS!
Digital Images.
Graphics and Animation
Introduction to Computer Graphics
Graphics Basic Concepts.
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Multimedia System Image
Graphics and Animation
Presentation transcript:

web graphics Discussion Session August 16, 2000 Discussion Session August 16, 2000

Starting Points Web Graphics Fundamentals Color Space Color Depth Dithering and Antialiasing Color Matching and Gamma Correction Raster vs. Vector True vs. Web Image Formats Web Graphics Fundamentals Color Space Color Depth Dithering and Antialiasing Color Matching and Gamma Correction Raster vs. Vector True vs. Web Image Formats

Color Space Model for representing colors numerically – Color space Most common color space – RGB Every instance of color identified by three numbers – Channels Intensity of red, green, and blue specified as number – 0 (dark) to 255 (full intensity) Model for representing colors numerically – Color space Most common color space – RGB Every instance of color identified by three numbers – Channels Intensity of red, green, and blue specified as number – 0 (dark) to 255 (full intensity)

RGB Color Space Combinations Channel intensity variations create individual colors on your monitor Combinations like these produce pure, bright hues Channel intensity variations create individual colors on your monitor Combinations like these produce pure, bright hues

RGB Color Space Combinations Increasing all channels at once adds white – creates a pale tint Reducing the strongest colors adds black – creates a dark shade Doing both adds gray – creates a muted tone Increasing all channels at once adds white – creates a pale tint Reducing the strongest colors adds black – creates a dark shade Doing both adds gray – creates a muted tone

Color Depth RGB measures each channel from 0 to 255 – range from 8 bits of data Color depth is amount of data used to represent a color Color depth is important in two respects Color depth of hardware – monitor, video adapter, software drivers File color depth – file storage format RGB measures each channel from 0 to 255 – range from 8 bits of data Color depth is amount of data used to represent a color Color depth is important in two respects Color depth of hardware – monitor, video adapter, software drivers File color depth – file storage format

True-Color Depth Three RGB 8-bit channels = 24-bit color depth = true-color True-color monitors display every pixel color exactly Shown as millions of colors in monitor settings 16,777,216 RGB combinations True-color image files record the full range of colors precisely Three RGB 8-bit channels = 24-bit color depth = true-color True-color monitors display every pixel color exactly Shown as millions of colors in monitor settings 16,777,216 RGB combinations True-color image files record the full range of colors precisely

High-Color Depth True color allows more hues than the eye can distinguish Operating systems offer 16-bit high color – thousands of colors Monitor displays only 32 levels of red, 32 of blue, and 64 of green Reducing color depth to 16 bits per pixel boosts video performance Data rounded off only on display – files unaffected – few 16-bit formats True color allows more hues than the eye can distinguish Operating systems offer 16-bit high color – thousands of colors Monitor displays only 32 levels of red, 32 of blue, and 64 of green Reducing color depth to 16 bits per pixel boosts video performance Data rounded off only on display – files unaffected – few 16-bit formats

Indexed Color Depth Older hardware and certain file formats can display only 8 bits per pixel 8-bit environments use indexed color The system or image file maintains a color table, or palette, of up to 256 colors Indexed color lets 8-bit displays and images simulate true color Older hardware and certain file formats can display only 8 bits per pixel 8-bit environments use indexed color The system or image file maintains a color table, or palette, of up to 256 colors Indexed color lets 8-bit displays and images simulate true color

Dithering and Antialiasing Images may have more colors than the monitor can show or details too small for the pixels to render Solutions to these problems are dithering and antialiasing Images may have more colors than the monitor can show or details too small for the pixels to render Solutions to these problems are dithering and antialiasing

Dithering Creates illusion of more colors by creating a diffuse pattern of pixels approximating the desired color Display applications, like web browsers, dither images running on 8- bit display systems Image editors use dithering to convert true-color images to indexed colors Alternative to dithering is color substitution – uses the closest color on the palette Creates illusion of more colors by creating a diffuse pattern of pixels approximating the desired color Display applications, like web browsers, dither images running on 8- bit display systems Image editors use dithering to convert true-color images to indexed colors Alternative to dithering is color substitution – uses the closest color on the palette

Comparing Images True color image example Dithered image example Color substitution image example True color image example Dithered image example Color substitution image example

Antialiasing Regardless of color depth computers render pixels in a grid Creates problems for non-grid shaped images Strict division between pixels is called alias Applications use antialiasing to smooth out these divisions Regardless of color depth computers render pixels in a grid Creates problems for non-grid shaped images Strict division between pixels is called alias Applications use antialiasing to smooth out these divisions

Antialiasing Example Antialiasing interpolates colors creating the illusion of smooth non-horizontal or non-vertical boundaries Aliased type Antialiased type

Antialiasing Antialiased type appears smoother and more legible than pixilated aliased type Antialiased images typically look less blocky and more professional Antialiased images tend to require more colors increasing file size Antialiased type appears smoother and more legible than pixilated aliased type Antialiased images typically look less blocky and more professional Antialiased images tend to require more colors increasing file size

Color Matching and Gamma Correction The RGB color model measures color relative to the hardware being used at the time Graphics developed on one platform don't look the same on another An image that looks great on a PC may appear pale or washed out on a Macintosh The RGB color model measures color relative to the hardware being used at the time Graphics developed on one platform don't look the same on another An image that looks great on a PC may appear pale or washed out on a Macintosh

Color Matching and Gamma Correction The relation between RGB values and the actual color displayed on the screen is almost never linear A red channel set to 200 should theoretically be twice as bright as a red channel set to 100 The actual relation, called gamma, varies from computer to computer The relation between RGB values and the actual color displayed on the screen is almost never linear A red channel set to 200 should theoretically be twice as bright as a red channel set to 100 The actual relation, called gamma, varies from computer to computer

Color Matching and Gamma Correction Color management is a problem with many computer peripherals Gamma correction solves color management for Web graphics Portable Network Graphics (PNG) format includes gamma values Web browsers and graphics applications have only recently begun to support PNG Color management is a problem with many computer peripherals Gamma correction solves color management for Web graphics Portable Network Graphics (PNG) format includes gamma values Web browsers and graphics applications have only recently begun to support PNG

Raster Images Image data format determines your options for changing it Raster image-file formats record images in pixels Edited only by altering the pixels directly with a bitmap editor Tools include apps like Photoshop and Paint Shop Pro Image data format determines your options for changing it Raster image-file formats record images in pixels Edited only by altering the pixels directly with a bitmap editor Tools include apps like Photoshop and Paint Shop Pro

Vector Images Vector image files record images descriptively, in terms of geometric shapes Vector shapes are converted to bitmaps for display Vector images are easier to modify than raster images Components can be moved, resized, rotated, or deleted independently Vector image files record images descriptively, in terms of geometric shapes Vector shapes are converted to bitmaps for display Vector images are easier to modify than raster images Components can be moved, resized, rotated, or deleted independently

Vector Images Flash is closest to a standard vector format for Web graphics Scalable Vector Graphics (SVG) is the only W3C-supported vector format – still under development Tools include apps like Illustrator, Freehand, and CorelDRAW Flash is closest to a standard vector format for Web graphics Scalable Vector Graphics (SVG) is the only W3C-supported vector format – still under development Tools include apps like Illustrator, Freehand, and CorelDRAW

Raster vs. Vector Raster images are usually more lifelike and realistic Vector images are usually smaller and animate well on the Web Raster images are usually more lifelike and realistic Vector images are usually smaller and animate well on the Web

True vs. Web Image Formats Choice of image format is based on a variety of factors Future editing Smallest possible file for downloading over the Web Image editing tools available Choice of image format is based on a variety of factors Future editing Smallest possible file for downloading over the Web Image editing tools available

True Image Formats Accurately stores an image for future editing Dozens – if not hundreds – of existing true image formats Every major computer operating system has its own native image format – BMP, PICT, XWD All of these formats support full 24-bit color depth Accurately stores an image for future editing Dozens – if not hundreds – of existing true image formats Every major computer operating system has its own native image format – BMP, PICT, XWD All of these formats support full 24-bit color depth

True Image Formats TIFF (Tagged Information File Format) is intended for cross- platform use PNG is the most promising loss- free format for cross-platform use Accurately compresses 24- or even 32-bit color images (24 + 8bit alpha) Intended to be a Web format TIFF (Tagged Information File Format) is intended for cross- platform use PNG is the most promising loss- free format for cross-platform use Accurately compresses 24- or even 32-bit color images (24 + 8bit alpha) Intended to be a Web format

Web Image Format: GIF CompuServe's GIF (Graphics Interchange Format) compresses images in two ways Uses Lempel-Ziv encoding which counts rows of like-colored pixels as a single unit Limits itself to indexed color GIF can have 256 colors or less Ideal for simple line art CompuServe's GIF (Graphics Interchange Format) compresses images in two ways Uses Lempel-Ziv encoding which counts rows of like-colored pixels as a single unit Limits itself to indexed color GIF can have 256 colors or less Ideal for simple line art

Web Image Format: GIF GIF has a couple of unique and useful features Files can contain several images and a duration value for each one to produce animations Files can have limited transparency – one color in an image's palette GIF has a couple of unique and useful features Files can contain several images and a duration value for each one to produce animations Files can have limited transparency – one color in an image's palette

Web Image Format: JPEG JPEG (Joint Photographic Experts Group) format supports full 24-bit color Compresses images by accurately recording the brightness of each pixel but averaging out the hues Records a description of an image, not the actual image itself JPEG (Joint Photographic Experts Group) format supports full 24-bit color Compresses images by accurately recording the brightness of each pixel but averaging out the hues Records a description of an image, not the actual image itself

Web Image Format: JPEG Web browser or graphics application decodes this description into a bitmap that looks more or less like the original image Accuracy of the reconstructed image depends on how much compression is applied Web browser or graphics application decodes this description into a bitmap that looks more or less like the original image Accuracy of the reconstructed image depends on how much compression is applied

Web Image Format: JPEG Works very well for photographic images with gradual color changes and no sharp edges JPEGs are notoriously difficult to edit – modifying interpreted bitmap rather than the JPEG data itself Resaving as a JPEG will put the interpreted bitmap, defects and all, back through the encoding process resulting in further image degradation Works very well for photographic images with gradual color changes and no sharp edges JPEGs are notoriously difficult to edit – modifying interpreted bitmap rather than the JPEG data itself Resaving as a JPEG will put the interpreted bitmap, defects and all, back through the encoding process resulting in further image degradation

more discussion…