Web Graphics By Chris Harding.

Slides:



Advertisements
Similar presentations
Introduction to Computer Graphics Raster Vs. Vector COMMUNICATION TECHNOLOGY.
Advertisements

Image Processing, Illustration (Drawing), Paint Programs, and Scanning Dr. Warren C. Weber Cal Poly Pomona.
ETT 429 Spring 2007 Digital Photography/Scanners.
Guilford County SciVis V106.01
V Obtained from a Guildford County workshop-Summer, 2014.
Graphics and Images September 28, Unit 3.
Welcome to a New Quarter Class Rules and Responsibilities What will be learning? 106-Static and Dynamic Visualization 105-Synthesize Data for SciVis Video-Real.
Image Compression CSC CSC Computing with Images2 How do we use fewer bytes to encode the same or similar information? Reduce redundancy Take.
Manipulating Images Image A visual representation of something that is seen in real life. It can be two-dimensional or three-dimensional A visual representation.
Introduction to Computer Graphics Raster Vs. Vector TGJ 2OI St. Christopher C.S.S. 4 Introduction to Computer Graphics.ppt.
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
What the difference is between bitmap and vector images. Which is suitable and when. Why do I need to know this?
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,
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.
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)
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
Faculty of Sciences and Social Sciences HOPE Website Development Graphics Stewart Blakeway FML 213
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
File Formats About graphic file formats And image compression.
BFTAW BDPA Workshop Introduction to GIMP Chris
BFTAW BDPA Workshop Introduction to GIMP Chris
All About File Formats Mr. Butler John Jay High School Department of Technology.
Graphics and Images Communicating Information : Documents and Publications.
Image Representation. Objectives  Bitmaps: resolution, colour depth and simple bitmap file calculations.  Vector graphics: drawing list – objects and.
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
Web Graphics By Chris Harding. Contents  Software  Vector Graphics and Pixel Based  Transparent Images  Compression  GIF vs. JPEG  Animated GIF.
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.
Multimedia File FormatsGraphics JPG, GIF, TIF, PSD, WMF, BMP, PNG, RAW.
Image Compression CSC CSC Computing with Images2 Image Compression Goal: reduce redundancy –Encode the same information using fewer bits.
Digital Imaging 101 Ann Ware. Digital Image Categories BITMAP  A vector is created by using a series of mathematically defined lines and curves rather.
Digital Imaging 101 Ann Ware
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
File Types. Terms Multimedia- the integration of text, sound, video and/or animation into a document Letters, brochures, newsletters, web pages or presentations.
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.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Graphics Theory. Learning Objectives Learn about use of graphics & their importance Identify what makes a good graphic & why Recognise different graphic.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
13 June – Session : Graphics Different types of Graphics for the web Features of image editing software Good practice for image editing.
2.01 Understand Digital Raster Graphics
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
Common Bitmap Image File Types
2.01 Understand Digital Raster Graphics
Digital Imaging 101 Ann Ware.
Understanding Web Graphics
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
OVERVIEW Objectives Follow a design document to prepare images for inclusion in a Web page Run a batch process to prepare multiple images in one step Use.
Web Graphics 101 Web Image File Formats Image Optimization
Computer Science Higher
2.01 Understand Digital Raster Graphics
Image Formats.
Graphics Bitmap Vector
Sci Vis I Exam Review Unit 6 File Formats.
File Formats.
2.01 Investigate graphic image design.
JPG vs GIF vs PNG What is the difference?
Raster Images CPSC 1030.
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.
A computer display is made up of small squares, called pixels.
Enhancing a Document Part 1
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
ADOBE FIREWORKS.
Digital Image Formats: An Explanation
Enhancing a Document Part 1
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
2.01 Investigate graphic image design.
Creating Digital Graphics
Presentation transcript:

Web Graphics By Chris Harding

Contents Software Vector Graphics and Pixel Based Transparent Images Compression GIF vs. JPEG Animated GIF

Software Fireworks (Part of Macromedia Suite) Photoshop Paint Shop Pro Microsoft Paint Examples of software available to create graphics suitable for the Internet.

Web Graphics Should be kept small. Around 100K mark Large graphics take time to download Lots of small graphics can make a sight look good But cause long page loading times Ideally graphics for the web should be kept to around 100k in size. This means that any connections over a modem will not have to wait to long for files to download. Plus because of the way web browsers download papers to many large files can take a long time to download the entire page. 10s of small images can have the same effect of taking a long time to download. Smaller graphics can enhance the overall appearance of a web site. For example by making a table border have rounded corner, which can be done using a style sheet (covered next week)

Types of Web Graphics BMP PNG JPEG GIF

Vector Graphics/Pixel Mathematical formula Smooth edges Bitmap/Rasterised: Pixelated Vector graphics are drawn using mathematical formula to draw basic shapes such as rectangle, square, circle, line etc. A vector based shape can allow alterations to the shape itself by using “handles”. For example on a line a handle is on each end, it is possible to add extra handles to the middle of the line. This handle can be moved to draw a line with three points, the handle can move on its point to draw lines with curves in them. Vector based shapes are smoothly drawn. Problem is that a special add-in is often required to display vector graphics on a web page. Bitmap images are created using individual pixels. When a shape is drawn it is made up of individual pixels that when zoomed out it looks smooth (middle image), when the image is zoomed in it looks pixelated (right image). As a pixel is square, to make the round shape extra pixels are added with a lighter colour.

Transparent Image Can be JPEG or GIF Best done with GIF Can select one colour to be transparent or background Best results make Background one colour (like pink!) Select background for transparent layer This can be done with either JPEG or GIF file formats. Best results often in GIF. Best way to do this is to select an obscure colour for the background such as PINK or PURPLE. This is because the way shapes are created using pixels. As the main shape colour can have lighter colour pixels with it. Using a white background can result in some “bleeding” of the image into the background.

Compression Compacting information Lossless Lossy All information retained Information is lost

Compression: Lossless (1/3) Selected information is retained Example: aabbbccdddddee 2a3b2c5d2e All information is kept during lossless compression. For example a string is compressed into 2a3b2c5d2e, when the file is read it uncompressed into a string again. Same principle is used for images. The average image has a number of pixels neighbours that are the same, as such it is possible to compress the file in this way,

Compression: Lossless (2/3) PSD: 6.9 MB BMP: 1.37 MB Same image compressed using Photoshop (PSD), saved as Bitmap (BMP)

Compression: Lossless (3/3) GIF: 86KB And finally GIF

Compression: Lossy (1/2) Image information Entropy – data kept Redundancy – data removed Lossy compression is where redundant information is deleted. For images this can be every 3rd or 5th pixel, as images can contain hundreds or even thousands of pixels it is possible to remove a number of pixels without loosing the general image shape or information.

Compression: Lossy (2/2) Original: 453KB JPEG: 4KB Right image when lossy compression is used

Compression Methods Lossless: common Windows file formats. RLE (Run Length Encoding) Lossless: common Windows file formats. LZW (Lemple-Zif-Welch) Lossless: TIFF, PDF, GIF, and PostScript. Most useful for large areas of single color. JPEG (Joint Photographic Experts Group) Lossy: JPEG, TIFF, PDF and PostScript. Continuous-tone images ie photographs ZIP Lossless: PDF and TIFF. Most effective for large areas of single color.

File>Save as... what?! (1/2) Pictures require a high level of detail and is often better to save using lossless compression when lossy can degrade the image to much. Original 2.9 MBs JPEG 275 KBs GIF 161KBs

File>Save as... what?! (2/2) Images for the web can often have very little difference when different compression is used. Original 372 KBs JPEG 13 KBs GIF 7KBs

Animated GIF Number of different frames Saved in one file (can be very large) Play once or looped Animated GIFs are made up of many different frames. Each frame is a different image which is saved in one file. This can mean that the animated file can be very large. It is possible that this image runs once, or in a loop. http://www.webreference.com/dev/gifanim/

Animated GIF Made up of 7 frames 4 frames below Looped file This example is made up of 7 frames to show the penguin going past the window. Only 4 frames are shown.

Web Graphics with CSS Use CSS with images to create visual effects Add round border to tables Roll over images Menu items Practical tutorial on this topic next week

Summary Software Vector Graphics and Pixel Based Compression Lossless Lossy GIF vs. JPEG for different uses Introduce Animated GIF