JPG vs GIF vs PNG What is the difference?

Slides:



Advertisements
Similar presentations
Web Design Vocab 3 PNG, JPG, GIF, MP3, MPEG.
Advertisements

Adobe Photoshop CS Design Professional FOR THE WEB CREATING IMAGES.
Chapter 17 Creating Images for the Web. Chapter Lessons Learn about Web features Optimize images for Web use Create a button for a Web page Create slices.
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.
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 By Jack Turner. Raster (Bitmap) Raster or bitmap is a dot matrix data structure, containing columns of dots and rows, of a graphics image.
File Types, Sizes & Dots Per Inch (dpi) Best practices applied to Photoshop file formats when creating media-specific documents. Bit Depth is the number.
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.
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.
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.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Image Representation. Objectives  Bitmaps: resolution, colour depth and simple bitmap file calculations.  Vector graphics: drawing list – objects and.
Digital Image Formats: An Explanation Guilford County SciVis V
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
Computer Images Can store color info about each pixel, but makes file BIG Compression for Web 15.
Web Graphics By Chris Harding. Contents  Software  Vector Graphics and Pixel Based  Transparent Images  Compression  GIF vs. JPEG  Animated GIF.
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.
Multimedia File FormatsGraphics JPG, GIF, TIF, PSD, WMF, BMP, PNG, RAW.
D IGITAL G RAPHICS By Katy Nicholson. W HAT ARE DIGITAL GRAPHICS ? Digital graphics are any images that are produced using software or a computer program.
Adobe Photoshop CS3 Revealed – Chapter 16 FOR THE WEB CREATING IMAGES.
Module 4- Build a Game Look at Me Mod 4 Lesson 3 Graphics.
Graphics & Images What File Format Do I Use?. Graphics & Images …..are visual images presented on some form of media (drawings, print, web, digital video)
Using the Sony DSC-P52 Camera Sunday, December 06, 2015.
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.
WWW, Web Design, Multimedia Winny Wang Image Types.
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
Digital File Formats By Ali Aslam. JPEG JPEG Stands for Joint Photographic Experts Group. JPEG uses a lossy compression routine. Lossy compression means.
Lesson 2: Introduction to Digital Imaging Digital Photography MITSAA IAP 2003 Rob Zehner.
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.
HTTP transaction with Graphics HTML file + two graphics files.
Digital Image Formats: An Explanation Guilford County SciVis V
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.
Module 4- Build a Game Look at Me Mod 4 Lesson 3 Graphics.
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.
2.01 Understand Digital Raster Graphics
Computer Science Higher
2.01 Understand Digital Raster Graphics
Introduction to raster graphics
Image Formats.
How to Convert Pictures into Numbers
Lesson Objectives Aims You should know about: 1.3.1:
Sci Vis I Exam Review Unit 6 File Formats.
Photo Editing for PowerPoint & the Web
File Formats.
2.01 Investigate graphic image design.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Photo Editing for PowerPoint & the Web
A computer display is made up of small squares, called pixels.
Image File Size and File Compression
Digital Image Formats: An Explanation
1.01 Investigate graphic types and file formats.
An Introduction to Scanning and Storing Photographs and Graphics
Web Design and Development
2.01 Understand Digital Raster Graphics
Topic 3: Data Compression.
Photoshop: Creating and Preparing Images for the Web
2.01 Investigate graphic image design.
Creating Images for the Web
Graphic File Format Skill Area
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
Exam Objectives: Identify Design Elements When Preparing Images
2.01 Investigate graphic image design.
Lesson 6 File Types.
Presentation transcript:

JPG vs GIF vs PNG What is the difference? There are hundreds of different file types for images. They are usually created for a specific purpose and have different properties. When working with images it is important to understand the differences.

JPEG Stands for “Joint Photographic Experts Group” Uses “lossy” compression - which means parts of the data in the file are discarded in order to make a smaller file Compressed files take up less room, can be transferred quicker 24 bits which allows up to 16 million colors Does not support transparency Does not support animation

Lossy Compression Parts of the data in the file are discarded in order to make a smaller file - usually these parts are not obvious to the human eye or ear - once removed though original image cannot be recovered Transform Encoding - averages out the color in small blocks Chroma Subsampling - adjusts brightness vs the actual color - used often in video games

JPG compression comparison Used high quality compression - larger file made smaller 16KB Tried to make a small file bigger - was compressed to too low a quality 4KB

GIF Graphics Interchange Format 8 bits which allows 256 colors Uses “lossless” compression - which does not throw any data away Is best of images that use a lot of flat areas of color - as in clipart Does support small animations Does support transparency

Lossless Compression All the data from the original file is kept Encoding: - Run Length (takes a series of similar values and stores them as a single value with a count) - Huffman Coding - a data compression technique (lossless) - the more often a series is repeated - the shorter the binary code to represent it is (efficiency) - LZ77 compression algorithm: replaces repeated occurrences of data with references to a single copy of that data existing earlier in the data stream

Animation Areas of the photo are erased so only the bunny is left - the gray squares represent ‘transparency” - like glass - so an image underneath will show through Flat areas of color

Transparent image placed on top of another image - see how the bunnies look almost natural?

PNG Portable Network Graphic Was intended to be a substitute for GIF - due to patent issues Creates small file sizes and uses “lossless” compression Does support transparency Does not support animations Not all browser support the use of PNG formats

PSD Photoshop Document Default file type for saving in the Photoshop program Allows an images individual layers to be saved which means large file sizes Cannot be used as a PSD in other programs Editing can continue on different layers even when saved To use in another program the file must be converted to another type such as .jpg or .gif When converting a PSD image will be “flattened” and compressed Once converted the layers are gone - any original editing must take place in the original PSD file

The End