IS1500: Introduction to Web Development

Slides:



Advertisements
Similar presentations
Multimedia Mr. Sanchez.
Advertisements

A Digital Imaging Primer Nick Dvoracek Instructional Resources Center University of Wisconsin Oshkosh.
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Graphics CS 121 Concepts of Computing II. What is a graphic? n A rectangular image. n Stored in a file of its own, or … … embedded in another data file.
2.01 Understand Digital Raster Graphics
Images. Image File Formats All browsers support All browsers support –GIF (Graphic Interchange Format)  limited to 256 colors  lossless compression.
File Formats The most common image file formats, the most important for cameras, printing, scanning, and internet use, are JPG, TIF, PNG, and GIF.
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.
HYPERTEXT MARKUP LANGUAGE (HTML)
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
Web Design, 4 th Edition 5 Typography and Images.
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,
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
Chapter 14-Designing for the World Wide Web. Overview Introducing multimedia on the Web. Designing text for the Web. Creating images for the Web. Adding.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
MIS 208 Fundamentals of Web Publishing Week 6 Performance Editing Graphics Imagemaps.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Multimedia and The Web.
Introduction to Web Design Web publishing HTML basics Web design principles Multimedia on the Web.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
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.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
Graphics & Images What File Format Do I Use?. Graphics & Images …..are visual images presented on some form of media (drawings, print, web, digital video)
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Things to Remember When working with digital images.
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.
Raster Graphics 2.01 Investigate graphic image design.
File Types. Terms Multimedia- the integration of text, sound, video and/or animation into a document Letters, brochures, newsletters, web pages or presentations.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
Digital Images are represented by manipulating this…
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.
Lesson 5 MULTIMEDIA. Multimedia on the Web has expanded rapidly as broadband connections have allowed users to connect at faster speeds. Almost all Web.
Slide 1 Graphics (Characteristics 1) Images have various characteristics that affect performance Size (number of pixels) – Large images can be several.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
CHAPTER 21: IMAGES. IMAGE SOURCES 3 options: Create your own images Find images Hire someone to make images.
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
Exploring Computer Science - Lesson 3-4
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Exploring Computer Science - Lesson 3-4
Web Graphics 101 Web Image File Formats Image Optimization
Computer Science Higher
2.01 Understand Digital Raster Graphics
Learn HTML Basics Lesson No : 10
2.01 Investigate graphic image design.
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Exploring Computer Science - Lesson 3-4
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
A computer display is made up of small squares, called pixels.
Image File Size and File Compression
2.02G Publishing Animated Videos
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
1.01 Investigate graphic types and file formats.
2.02F Publishing Animated Videos
Graphics (Characteristics 1)
Web Design and Development
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
2.01 Understand Digital Raster Graphics
Web Programming– UFCFB Lecture 7
COM 205 Multimedia Applications
Lesson 5: Multimedia on the Web
2.01 Investigate graphic image design.
Building an Online Store
2.01 Investigate graphic image design.
Presentation transcript:

IS1500: Introduction to Web Development Integrating Multimedia Content Martin Schedlbauer, Ph.D. m.schedlbauer@neu.edu

Integrating Multimedia Content Objectives At the end of this module, you will be able to: Link images in an HTML page using the <img> tag Differentiate between the different image file formats, including GIF, JPG, TIFF, and PNG Use custom RGB colors Render text in non-standard fonts Embed videos and audio streams IS1500 Integrating Multimedia Content

Integrating Multimedia Content Notes for Content Online tools for image file type change, resizing, animated gifs Example of animated gif Example of transparency in gif and png Creating a thumbnail Streaming video vs download example Same with audio IS1500 Integrating Multimedia Content

Integrating Multimedia Content IS4300 Integrating Multimedia Content Image Sources IS1500 Integrating Multimedia Content

Integrating Multimedia Content Images Images are graphics elements that can enhance a website because they: deliver a visual message make the website more personal prompt action improve aesthetics Use photos and images creatively: Tilt or border them to create additional whitespace Use dithering or other enhancement techniques IS1500 Integrating Multimedia Content

Integrating Multimedia Content Sources for Images Create your own images: Take photos with a digital camera Scan images or photos with a scanner Draw an illustration Digital cameras: Watch resolution (1.2 megapixels is fine for the web but not for photo printing) IS1500 Integrating Multimedia Content

Integrating Multimedia Content Examples of Images Hand drawn Illustration Photo taken with a Digital Camera Image from freedesignfile.com. And under a Creative Commons License. Scanned Image from a Catalog IS1500 Integrating Multimedia Content

Using Images from the Web Images can be located on the web: Observe copyright Purchase a license for an image, but watch license restrictions Follow the Creative Commons license type Use image at the right size and resolution IS1500 Integrating Multimedia Content

Creative Commons License A Creative Commons (CC) license is one of several public copyright licenses that allow the free distribution of copyrighted work. A CC license free use of a work. There are several types of CC licenses.  For example, an author might provide a CC license to allow only non-commercial uses of their own work. IS1500 Integrating Multimedia Content

Integrating Multimedia Content Scanning Images Use a flatbed, sheetfed, or drum scanner: Scan images at 72dpi (dots per inch) Use higher resolution if images will be manipulated or printed, e.g., 150dpi Scan illustrations at 256 colors; more colors increases the file size but not the look Save images in TIFF to retain all colors and quality IS1500 Integrating Multimedia Content

Integrating Multimedia Content Screen Resolution pixel scanline height width IS1500 Integrating Multimedia Content

Integrating Multimedia Content Pixels and Color Pixels are individual dots on the screen and in an image. Each pixel is a number that represents the color of the “dot”. Colors are Red, Green, and Blue triples consisting of a certain number of bits: 8 bits per color = 224 = 16.7 million different colors IS1500 Integrating Multimedia Content

Integrating Multimedia Content Image Scaling Scaling of images to the right size is done by the browser. Images that are larger take time to download but do not lead to higher display quality Watch the different resolutions of screens on which page will be viewed (e.g., Retina display) IS1500 Integrating Multimedia Content

Integrating Multimedia Content IS4300 Integrating Multimedia Content Image File Formats IS1500 Integrating Multimedia Content

Integrating Multimedia Content Image File Formats Image File Formats JPG GIF PNG TIFF EPS IS1500 Integrating Multimedia Content

Integrating Multimedia Content Image Compression Images are often compressed to save storage space and reduce network download time (important for metered networks). Compression can be “lossless” or “lossy”: “Lossless”: the original image pixels are retained “Lossy”: pixels that won’t affect image quality very much are removed resulting in better compression IS1500 Integrating Multimedia Content

Image Formats and Compression Lossless GIF PNG TIFF Lossy JPG IS1500 Integrating Multimedia Content

Integrating Multimedia Content Image File Format: GIF GIF (Graphics Interchange Format) Only 256 colors, so lower vibrancy Allows for animated GIFs Interlacing makes for quicker viewing while downloading Separate background Large files as compression is lossless, but no quality is lost IS1500 Integrating Multimedia Content

Integrating Multimedia Content Animated GIFs Multiple GIF images in a single file that are displayed with programmable delay. http://commons.wikimedia.org/wiki/File:Seven_segment_display-animated.gif IS1500 Integrating Multimedia Content

Integrating Multimedia Content Image File Format: PNG PNG 256 colors with transparency or 16.7 million colors Similar to GIF and expected to replace GIF Larger files than JPG as compression is lossless, but smaller than GIF Capability of embedding text within images so that images can be indexed by search engines IS1500 Integrating Multimedia Content

Image File Format: TIFF Large, but highest quality Lossless IS1500 Integrating Multimedia Content

Example: TIFF versus JPG Notice how the TIFF file is much clearer compared to the JPG file, but it’s also much larger. IS1500 Integrating Multimedia Content

Integrating Multimedia Content File Size Differences Northeastern logo at a resolution of 80×76: File Type Size % of TIF Comment TIF 14.5kb 0% PNG 11.3kb 78% Lossless compression; full color JPG 4.89kb 34% No transparency; full color GIF 3.87kb 26% Fewer colors TIFF PNG JPG GIF IS1500 Integrating Multimedia Content

Example: TIFF versus GIF The difference between TIFF and GIF is even more pronounced than TIFF vs JPG as GIF reduces the number of colors as well as uses compression. TIFF GIF IS1500 Integrating Multimedia Content

Integrating Multimedia Content Scaling Images Images can be scaled by the browser or through an image processing program, such as Photoshop and even Paint. BUT: Scaling above an image’s native size leads to “blurriness”. IS1500 Integrating Multimedia Content

Integrating Multimedia Content Thumbnails Thumbnails are smaller versions of an image used for previewing. Create separate thumnail files; do not simply scale the larger images… why? IS1500 Integrating Multimedia Content

Integrating Multimedia Content In Practice In practice, it’s either TIFF or JPG, rarely GIF, for photo images. Background images are sometimes in PNG as it allows transparency. http://www.digitalmemoriesonline.net/scan/output/jpeg_vs_tiff.htm IS1500 Integrating Multimedia Content

Integrating Multimedia Content IS4300 Integrating Multimedia Content The <img> Tag IS1500 Integrating Multimedia Content

LOWSRC Attribute for <img> If a LOWSRC image is specified, browser loads that first and then the actual image Results in faster initial display if the LOWSRC image is smaller (and of course of lower quality) IS1500 Integrating Multimedia Content

Streaming Video and Audio IS4300 Integrating Multimedia Content Streaming Video and Audio IS1500 Integrating Multimedia Content

Integrating Multimedia Content Animation Animated GIFs Flash Java Applets Microsoft Silverstream IS1500 Integrating Multimedia Content

Downloading vs. Streaming Web audio and video can be downloadable or streaming. Downloadable media must be downloaded fully before it can be played. Streamed media start playing after a local buffer is filled. The buffer is kept full while the media is playing. IS1500 Integrating Multimedia Content

Downloading vs. Streaming Advantages Disadvantages Downloading Content can be accessed offline Uses HTTP and does not require special media servers Can take a long time to download Content is not accessible until fully downloaded No previewing of content Requires local storage Content is distributable and digital rights are difficult to enforce Streaming Seeking and random access Does not require local storage Previewing of content possible Does not require special software on browser Digital rights more easily enforceable High bandwidth requirements for continuous streaming Requires a media server on the web server Re-playing content requires re-sending of the same content IS1500 Integrating Multimedia Content

Integrating Multimedia Content Audio Audio files must be encoded in a format that the browser can play back. Quality and recording format affects file size: Mono vs. stereo Sampling rate 8kHz is fine for voice, 22kHz for web audio 48kHz is higher quality audio Bit depth 8 bit audio vs 16 bit vs 128 bit IS1500 Integrating Multimedia Content

Integrating Multimedia Content Codecs Codecs are compression algorithms that can greatly reduce the file size. Most compression algorithms are “lossy”, so quality is reduced to achieve smaller file sizes. Encoding with a codec requires a player that supports the codec when playing back. IS1500 Integrating Multimedia Content

Integrating Multimedia Content Streaming Audio Streaming audio requires a streaming media server. Files play back as they download, so audio starts almost immediately. RealAudio and Quicktime are common streaming formats. Windows Media format (WAV) uses better codecs but files are larger and Windows only. IS1500 Integrating Multimedia Content

Integrating Multimedia Content Stream Hosting Most websites use hosting platforms to handle streaming and media formats. Video: YouTube Vimeo Viddler Audio: EdgeCast IS1500 Integrating Multimedia Content

Embedding Audio and Video IS1500 Using Markup Languages: HTML

Using Markup Languages: HTML Audio Element <audio>: To play an audio file <audio controls>    <source src="horse.ogg" type="audio/ogg">    <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio> IS1500 Using Markup Languages: HTML

Using Markup Languages: HTML Video Element <video>: To play a video file <video width="400px" controls> <source src="mov_bbb.mp4" type="video/mp4"> <source src="mov_bbb.ogg" type="video/ogg"> Your browser does not support HTML5 video. </video> <p> Video courtesy of <a href="http://www.bigbuckbunny.org/" target="_blank">Big Buck Bunny</a>. </p> IS1500 Using Markup Languages: HTML

Summary, Review, & Questions… IS1500 Integrating Multimedia Content