Computer Graphics Lesson 2 July 12, 2005 Image Formats What are some formats you are familiar with? There are 4 basic image format types: Uncompressed.

Slides:



Advertisements
Similar presentations
NIMAS Images and File Size Julia Myers Nicole Gaines January 29, 2008.
Advertisements

Unit 30- Digital Graphics THEORY P2 and D2
Dale & Lewis Chapter 3 Data Representation. Representing color Similarly to how color is perceived in the human eye, color information is encoded in combinations.
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.
CS 128/ES Lecture 7b1 File Formats. CS 128/ES Lecture 7b2 Outline What is an image really? Methods of storing images Compression algorithms.
Introduction to Computer Graphics
Guilford County SciVis V106.01
V Obtained from a Guildford County workshop-Summer, 2014.
Graphics and Images September 28, Unit 3.
How Images are Represented Bitmap images (Dots used to draw the image) Monochrome images 8 bit grey scale images 24 bit colour Colour lookup tables Vector.
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.
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.
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)
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
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.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Lecture 4 - Introduction to Computer Graphics
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.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Bit-Mapped Graphic Data: Input (Capture) Hardware Multimedia – Section 2.
Understanding Images on the Computer How do images work and why?
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.
Vocabulary Words. 2-stage shutter release is a shutter release, that when pressed halfway, it activates the autofocus and the light meter of the camera,
Information Processes and Technology Multimedia: Graphics.
Multimedia Technology Image Technology Krich Sintanakul Multimedia and Hypermedia.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
+ 5 Things you need to know about images* *Images for the web.
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:
10 | Graphics COM 366 Web Design & Production. Native file format –Format native to software program –psd > PhotoShop default Preserves layers –Use “Save.
2D Graphics Theory & Principles. Single Point Smallest addressable area on screen or digital image.
Optimizing Web Graphics Session #6 INP150. Image Types Types  Bitmap / Raster---dots  Bitmap images are made of individual pixels arranged in patterns.
Graphic Format Factors
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Raster Graphics 2.01 Investigate graphic image design.
Digital Images are represented by manipulating this…
Graphics. … Can be immersive and capture imaginations. Largest Photographs In The World.
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
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
21 st Century Technology. Painting Uses Pixels Quality of image Changes Drawing Uses Vectors or Lines Quality of Image Does NOT Change.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Lesson 2: Introduction to Digital Imaging Digital Photography MITSAA IAP 2003 Rob Zehner.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Lesson 9: Web Graphics. Objectives Distinguish between vector and raster graphic types Identify and choose appropriate image file formats, including browser-compatibility.
Graphic Format Factors
8th Lecture – Intro to Bitmap or Raster Images
Common Bitmap Image File Types
Graphic Format Factors
Computer Science Higher
Image Formats.
Graphics Bitmap Vector
2.01 Investigate graphic image design.
Raster Images CPSC 1030.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Introduction to Computer Graphics
Graphics Basic Concepts.
File Formats V
Web Design and Development
Graphic Format Factors
2.01 Investigate graphic image design.
COMS 161 Introduction to Computing
Graphic Format Factors
Graphic Format Factors
2.01 Investigate graphic image design.
Graphic Format Factors
Graphic Format Factors
Lecture 4 - Introduction to Computer Graphics
2.01 Investigate graphic image design.
Graphic Format Factors
Presentation transcript:

Computer Graphics Lesson 2 July 12, 2005

Image Formats What are some formats you are familiar with? There are 4 basic image format types: Uncompressed “Lossy” Compression Palletized Images Vector Images

Uncompressed Images An image is considered to be uncompressed if each pixel is stored individually with its full color value. The Bitmap (BMP) file format is a good example of an uncompressed file format. BMP files may still be compressed using “lossless” compression algorithms such as ZIP.

Uncompressed Images Each Pixel is stored using 3 numbers representing the individual color channels. R = 243 G = 198 B = 114 R = 239 G = 190 B = 106 R = 243 G = 199 B = 115 … R = 245 G = 197 B = 114 R = 245 G = 197 B = 112 R = 241 G = 192 B = 108 … R = 244 G = 195 B = 109 R = 243 G = 190 B = 102 R = 239 G = 184 B = 99 … …………

Uncompressed Images Calculating Size: An uncompressed image requires 3 bytes (numbers) per pixel; one for each color channel. So… a 256x256 image would require 256*256*3 = bytes! OMG! … or 192 kilobytes… meh.

Compressed Images The Joint Photographic Experts Group (JPEG) file format utilizes image compression by approximation to reduce file size. As you can see, there is some quality loss although the effect is magnified here. With JPEG CompressionWithout Compression

Compressed Images Compressed Images take advantage of visual approximation. Most images do not need to be displayed exactly as they were created. The resulting image need only resemble the original. The compression comes at the expense of some image quality. So, as is often the case in CS we have a memory  quality tradeoff.

Color Pallets Another way of making images smaller is by restricting the number of colors that can be displayed in one image. Previously we discussed 1 byte (8bits) per color channel. This is known as 24-bit color or True Color. 2 8 * 2 8 * 2 8 = 16,777,216 colors While this provides good color depth, in many images less than a handful of those colors are actually used.

Color Pallets To the right is a 256 color table containing every color used in this Mona Lisa image. Each color is 24 bits, but every pixel contains only 8 bits which index a color in the table.

Color Pallets

Vector Images In a vector image, the computer stores lines, shapes, and colors instead of pixels. When it is time to show the image a traditional “raster” image is generated for display on a monitor. The most popular file format for vectors is called Scalable Vector Graphics (SVG).

Vector Images Vector images look more like drawings, but they have the advantage that that can be rastered at any level of detail, meaning they are infinitely scalable.

Image Format Comparison BMPJPEGGIFSVG File SizeLargestVariableSmall Image Quality Perfect at a given resolution. Variable Some color depth loss. Perfect ScalabilityLimited Limited and results in more loss. LimitedPerfect PhotorealismBestVery goodPoorBad