SlideShare a Scribd company logo
1 of 42
Graphics and Images
Computer Graphics 
• “Computer graphics refers to using a 
computer to create or manipulate any kind 
of picture, image, or diagram.” 
• Typically you manipulate an image on 
your computer with a graphics editing 
program 
– MS Paint 
– Adobe Photoshop 
– GIMP 
– Etc.
Bitmapped Graphics 
• There are two basic types of graphics: 
– Bitmapped and 
– Vector 
• Bitmapped graphics are much more 
common 
• Often they are called raster graphics 
• When you create a bitmapped graphic you 
are basically creating a bunch of colored 
dots
Bitmapped Graphics, cont. 
• The bitmapped graphic is stored as an array of dots, or 
pixels 
• Each pixel gets assigned a specific color 
• The more pixels you have, the more detailed the image 
can be 
– Imagine only have one pixel, all you get is a dot 
• Some common bitmap graphics programs are: 
– Photoshop 
– Paint Shop Pro 
– GIMP 
– Photo-Paint 
– Graphic Converter 
• These are paint programs
Exaggerated Example of a Bitmap Image
Vector Graphics 
• The second major type of computer graphics 
• Vector graphics are created and manipulated using 
drawing programs (as opposed to paint programs for 
bitmapped graphics) 
• Instead of using pixels to describe the image, it 
describes the image using shapes 
– Circles 
– Lines 
– Curves 
• Also has to store the color of these shapes 
• A verbal example would be something like: 
– “A yellow circle with a center here and a radius of x, a purple line 
from here to here”
Vector Graphics, cont. 
• The programs used with vector graphics are 
drawing programs 
• Some of these programs include: 
– Corel Draw 
– Adobe Illustrator 
– Acrobat 
• Most of these programs allow the use of 
bitmapped images as part of a vector image 
– Does not make them paint programs 
– Bitmaps are a type of object (like a circle) that can be 
inserted into a vector image
Bitmap vs. Vector Images 
• Bitmap and vector images are obviously 
different 
• Both have strengths and weaknesses 
• They don’t manipulate images in the same 
way 
• They don’t store images in the same way 
• The images are edited differently
Bitmap Images 
• Very flexible 
– Any image can be represented (with enough pixels) 
• Created by scanners, digital cameras, and other 
similar devices 
• Used most commonly, especially on the web 
• Can be displayed directly on your computer 
screen if 1 image pixel is the same size as 1 
screen pixel 
• Takes a lot of memory 
– The color of each pixel must be stored 
– Can be compressed
Vector Images 
• Easy to change parts of the image since 
each part is stored as a different shape 
• Can manipulate the image smoothly 
– Rotating, changing color, size, line width, etc. 
• Limited to the shapes the program can 
handle 
• Typically takes less memory and disk 
space than a bitmap 
• Must be converted to a bitmap to display
File Formats 
• Once we’ve chosen which graphics format we’re 
going to use now we have to select which file 
format 
• Each way of storing an image is called a file 
format 
• Each file format converts the image to a 
corresponding string of bits differently in order to 
store them on disk or transmit them over the 
Internet 
• It’s beyond the scope of this course to discuss 
how these images are converted 
• But, we will discuss the common file formats
File Formats, cont. 
• Hopefully, you’re familiar with JPEG and 
GIF file formats (at least in name only) 
• You can’t just rename “somepicture.gif” to 
“somepicture.jpg” and expect to get the 
desired result 
– Can’t just rename a .doc file as .ppt and 
expect a presentation out of it 
• Images have to be converted from one file 
format to another
Common File Formats 
Bitmap Formats 
• GIF: graphics interchange 
format 
• JPEG: joint photographic 
experts group 
• PNG: portable network 
graphic 
• BMP: Windows bitmap 
• TIFF: tagged image file 
format 
Vector Formats 
• SVG : scalable vector 
graphics 
• EPS: encapsulated 
postscript 
• CMX: Corel meta 
exchange 
• PICT: Macintosh Picture 
• WMF: Windows metafile
How to Pick a File Format? 
• Type: does the file format store the type of 
image you want to use (bitmap or vector)? 
• Portability: can other people use images in this 
format? 
• Color Depth: does the format support the 
number of colors you need? 
• Compression: can make the file smaller, but it 
takes time to compress and decompress a file 
• Transparency: do parts of your image need to 
be transparent?
Color Depth 
• Image formats will only allow a certain number of 
different colors for each pixel 
– Depends on the number of bits assigned to each pixel 
• The format stores the level of each of the three 
values for RGB to specify color 
• R,G,and B are referred to as components 
– Ex. “The red component” 
• Bit depth describes the number of colors that 
can be used in the image
Bit Depth 
• 24-bit image allows you to specify up to 224 
different colors in your image 
– For each of the RGB values you can specify 
28 different values (256 values) 
• Remember in the color section RGB went from 0- 
255 
– 28 values for R, for G, and for B gives us 224 
different colors 
• The “24” in 24-bit says how many bits it 
takes to store a single color
Bit Depth cont. 
• While most photos look good with 24-bit 
color, we can have less than that 
• 15-bit color can have 215 different colors 
with 25 possible values for each component 
• 15-bit color is usually referred to as 16-bit 
color 
– Use an extra bit for green (we’re more 
sensitive to it)
Formats with Fewer Colors 
• Usually images with smaller numbers of colors 
are paletted or indexed 
• Some colors are selected to be in the image’s 
palette 
• For each pixel, then you only have to store the 
number which indicates which palette color you 
want 
– Instead of specifying its RGB values, specify the 
number associated with the color 
– Red could have a value of “12”
Palettes 
• If you have an 8-bit image, the palette will 
have 28 (256) colors 
– Each of the 256 colors in the palette come 
from the possible 224 different colors in a 24-bit 
image 
• A 1-bit image can have 21 (2) different 
colors 
– Usually black and white
Colors vs. Image Size 
• It’s nice to use as many colors as 
possible, especially when dealing with 
photographs 
• But, the more colors, the larger the image 
is to store 
– More information is required for each pixel 
• Can work in 24-bit color then save the 
image with fewer colors for storage or 
using online
What if your image has more colors 
than the color depth? 
• Usually the graphics program will select colors 
that closely match those in your image 
• If the color is not in the palette, the program can 
choose a separate, close color, or do dithering 
• Dithering is where the program fools your eye by 
creating a pattern of pixels in two colors which 
makes you see a color between the two
Dithering 
Plain Gray Image Image which appears 
this shade gray 
because of dithering. It 
actually contains white 
and gray pixels
Not All Dithering is the Same 
Diffusion Pattern Noise 
•This shows an example of three different ways to dither the image. 
•Some types of dithering may work better than others depending on 
the image in question. 
•Some programs allow you to select the type of dithering (Photoshop, 
e.g.)
Dithering with Color 
Color I want to produce Dithering with only 2 colors, 
orange and white 
Dithering with all web-safe 
colors enabled 
Zoomed View of dithering
Detail from Seurat’s La Parade
Seurat’s Sunday Afternoon on the 
Island of La Grande Jatte
Compression 
• Compression is used to make files smaller 
• Bitmap images, especially, can be quite 
large if stored without compression 
– Ex. A 640 x 480 pixel image with 24-bit color 
depth would take: 
• 640 * 480*24 bits = 7372800 bits = 900kB 
• Windows bmp format is uncompressed 
– Should NEVER be used online
Lossy vs. Lossless Compression 
• There are two main types of compression: 
– Lossy and 
– Lossless 
• When an image is compressed and later uncompressed 
with a lossless algorithm, the image is exactly the same 
– Most common type 
– No information is lost 
• Lossy algorithms produce images which may be slightly 
different before compression and after uncompressing 
– Some information may be lost 
– Can produce sometimes produce much smaller files than a 
lossless algorithm 
– Can be used when the difference isn’t very noticeable 
– Often takes into account human anatomy 
• We can’t tell the difference between certain values of color
JPEG 
• The JPEG format was designed for 
photographs at high quality and in full 
color 
• Lossy compression format 
• Normally changes can’t be seen except at 
the lowest quality settings 
• Bad idea to store simple black and white 
files as JPEGs 
• Good for 8-bit grayscale
GIF and PNG 
• GIF uses LZW compression algorithm 
developed by Unisys 
– It’s patented (or was patented) 
• PNG was created as an alternative to GIF 
– FREE!!!! 
• Both are used for the web frequently because 
they support transparency 
• For this course, you should try and use PNG 
instead of GIF 
– Considered better algorithm 
– No patent issues
Transparency 
• Allows part of the image to be transparent 
– The background will show through 
• Often used with graphics on web pages 
– The image is still a rectangle 
– Parts of the background show through so it 
doesn’t look like a rectangle 
• Not all image formats support 
transparency
Simple Transparency 
• GIF supports simple transparency 
• Some pixels are marked as transparent 
– The background will show through 
• Images can appear any shape 
• It’s “all or nothing” transparency 
– Either the pixel is completely transparent or its 
not
Example of GIF Transparency 
•GIF with a white background. 
•Unsightly for web pages 
•GIF with a transparent 
background. 
•Image is the same size as 
image on left 
•But, background shows 
through
Alpha Channel 
• Alpha channel is a more general method of transparency 
• Images now have two parts: 
– The image 
– A mask, called the alpha channel 
• The alpha channel indicates how transparent each pixel 
is 
• If supported by the program and format, you can specify 
partial transparency of images 
• GIMP and Photoshop support full transparency 
• So does the PNG format 
• If it’s not supported, the advanced transparency 
information is ignored
Why Use Transparency? 
• You could simply color the background of your 
image to the same color as the background of 
your webpage 
• What happens, though, if you decide to change 
the background color on your site? 
– Have to change every single image! 
• Better to use transparency for images with 
shapes (like the snail) 
– Not necessary for square images like a photograph
Common File Formats for the Web 
• The three most common file formats on the web 
are: 
– JPEG (.jpg) 
– GIF (.gif) 
– PNG (.png) 
• Most programs have their own file format called 
a native format 
– These formats are unique to the program 
– Good because you can save without losing any 
information 
• They use no compression or lossless compression 
– Can’t use these online because browsers can’t 
display them and people can’t necessarily open them
JPEG 
• JPEG : Joint Photographic Experts Group 
• .jpg is the file extension (normally) 
• Bitmap format 
• Lossy compression 
• 24-bit color or 8-bit gray-scale 
– Like you’d get from a digital camera or 
scanner
GIF 
• GIF : Graphics Interchange Format 
• .gif file extension 
• Bitmap format 
• Lossless compression 
• Used a lot on the web 
• Good for simple animations and simple 
transparency 
• Limited to 8-bit color (256 colors) 
• Compression algorithm is patented
PNG 
• PNG : Portable Network Graphic 
• Bitmap format 
• Lossless compression 
• Replacement for GIF (no patent!) 
• Better compression algorithm than GIF 
• Supports 24-bit color and full transparency
Other Common File Formats 
• You can read about the other common file 
formats in section 3.6 of your course pack 
• The ones listed are: BMP, TIFF, EPS, and 
SVG 
• BMP and TIFF are bitmapped graphics 
• EPS and SVG are vector graphics
Be Sure to Know 
• The differences between vector and 
bitmapped graphics 
– Their properties 
– How they work (shapes vs. pixels) 
• You should be very familiar with the 
information about JPEG, GIF, and PNG. 
• Also know BMP, and at least one vector 
graphics file format
Questions? 
Seurat’s Grey weather, Grande Jatte

More Related Content

What's hot

Image capture powerpoint
Image capture powerpointImage capture powerpoint
Image capture powerpointcbottomleyct
 
Raster and vector
Raster and vectorRaster and vector
Raster and vectorleeanne123
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGEazira96
 
Technical file
Technical fileTechnical file
Technical filesamgh1995
 
E - TECH : File Image Formats
E - TECH : File Image FormatsE - TECH : File Image Formats
E - TECH : File Image FormatsKikoSyCip
 
Image file formats
Image file formatsImage file formats
Image file formatsKarlRubin
 
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVEC
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVECTYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVEC
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVECMathankumar S
 
Compressed image file formats
Compressed image file formatsCompressed image file formats
Compressed image file formatsdyyddi
 
Digital graphics file formats
Digital graphics file formatsDigital graphics file formats
Digital graphics file formatsRuby Hooper
 
Graphic File Formats
Graphic  File  FormatsGraphic  File  Formats
Graphic File Formatsaidanbd
 
Lecture5 graphics
Lecture5   graphicsLecture5   graphics
Lecture5 graphicsMr SMAK
 
Lesson 3 graphics types
Lesson 3  graphics typesLesson 3  graphics types
Lesson 3 graphics typeshwells2101
 
.bmp image data format
.bmp image data format.bmp image data format
.bmp image data formatMahesh pawar
 
Cg introduction
Cg introductionCg introduction
Cg introductionUma mohan
 
Digital Graphics- File Formats
Digital Graphics- File FormatsDigital Graphics- File Formats
Digital Graphics- File Formatskatyfleetham
 

What's hot (20)

Digital image formats
Digital image formatsDigital image formats
Digital image formats
 
Grade 8 image file format
Grade 8   image file formatGrade 8   image file format
Grade 8 image file format
 
Image capture powerpoint
Image capture powerpointImage capture powerpoint
Image capture powerpoint
 
image formats
image formatsimage formats
image formats
 
Raster and vector
Raster and vectorRaster and vector
Raster and vector
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
 
Technical file
Technical fileTechnical file
Technical file
 
E - TECH : File Image Formats
E - TECH : File Image FormatsE - TECH : File Image Formats
E - TECH : File Image Formats
 
Image file formats
Image file formatsImage file formats
Image file formats
 
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVEC
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVECTYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVEC
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVEC
 
Compressed image file formats
Compressed image file formatsCompressed image file formats
Compressed image file formats
 
Image Files Formats
Image Files FormatsImage Files Formats
Image Files Formats
 
Digital graphics file formats
Digital graphics file formatsDigital graphics file formats
Digital graphics file formats
 
Graphic File Formats
Graphic  File  FormatsGraphic  File  Formats
Graphic File Formats
 
Lecture5 graphics
Lecture5   graphicsLecture5   graphics
Lecture5 graphics
 
Lesson 3 graphics types
Lesson 3  graphics typesLesson 3  graphics types
Lesson 3 graphics types
 
.bmp image data format
.bmp image data format.bmp image data format
.bmp image data format
 
Image File Fomat
Image File FomatImage File Fomat
Image File Fomat
 
Cg introduction
Cg introductionCg introduction
Cg introduction
 
Digital Graphics- File Formats
Digital Graphics- File FormatsDigital Graphics- File Formats
Digital Graphics- File Formats
 

Viewers also liked

Refrigrationairconditioning 140423035013-phpapp01 (1)
Refrigrationairconditioning 140423035013-phpapp01 (1)Refrigrationairconditioning 140423035013-phpapp01 (1)
Refrigrationairconditioning 140423035013-phpapp01 (1)Parth Bhingaradiya
 
Translation Lookaside Buffer & Inverted Page Table
Translation Lookaside Buffer & Inverted Page TableTranslation Lookaside Buffer & Inverted Page Table
Translation Lookaside Buffer & Inverted Page TableDarshit Metaliya
 
Refrigeration system
Refrigeration systemRefrigeration system
Refrigeration systemKunj Patel
 
B.tech i eme u 4 r & ac
B.tech i eme u 4 r & acB.tech i eme u 4 r & ac
B.tech i eme u 4 r & acRai University
 
Introduction to computer graphics
Introduction to computer graphics Introduction to computer graphics
Introduction to computer graphics Priyodarshini Dhar
 
Attributes of Output Primitives
Attributes of Output PrimitivesAttributes of Output Primitives
Attributes of Output PrimitivesRenita Santhmayora
 
физика и техника
физика и техникафизика и техника
физика и техникаXOMA06
 
新生兒準備物品5大類(食衣住行育樂)-1
新生兒準備物品5大類(食衣住行育樂)-1新生兒準備物品5大類(食衣住行育樂)-1
新生兒準備物品5大類(食衣住行育樂)-1Hanna Lin
 
Presentación ingles kiara unad
Presentación ingles kiara unadPresentación ingles kiara unad
Presentación ingles kiara unadkiara_calvo UNAD
 
Alfabetatze mediatikoa eta digitala 2014
Alfabetatze mediatikoa eta digitala 2014Alfabetatze mediatikoa eta digitala 2014
Alfabetatze mediatikoa eta digitala 2014InurriApopiyuak
 

Viewers also liked (18)

Seminar
SeminarSeminar
Seminar
 
Refrigeration
RefrigerationRefrigeration
Refrigeration
 
Refrigrationairconditioning 140423035013-phpapp01 (1)
Refrigrationairconditioning 140423035013-phpapp01 (1)Refrigrationairconditioning 140423035013-phpapp01 (1)
Refrigrationairconditioning 140423035013-phpapp01 (1)
 
Translation Lookaside Buffer & Inverted Page Table
Translation Lookaside Buffer & Inverted Page TableTranslation Lookaside Buffer & Inverted Page Table
Translation Lookaside Buffer & Inverted Page Table
 
graphic stadards
graphic stadardsgraphic stadards
graphic stadards
 
Linux Memory
Linux MemoryLinux Memory
Linux Memory
 
Refrigeration system
Refrigeration systemRefrigeration system
Refrigeration system
 
B.tech i eme u 4 r & ac
B.tech i eme u 4 r & acB.tech i eme u 4 r & ac
B.tech i eme u 4 r & ac
 
Introduction to computer graphics
Introduction to computer graphics Introduction to computer graphics
Introduction to computer graphics
 
Attributes of Output Primitives
Attributes of Output PrimitivesAttributes of Output Primitives
Attributes of Output Primitives
 
физика и техника
физика и техникафизика и техника
физика и техника
 
prakarya - manisan nanas
prakarya - manisan nanasprakarya - manisan nanas
prakarya - manisan nanas
 
Brochure
BrochureBrochure
Brochure
 
@ Symbol
@ Symbol@ Symbol
@ Symbol
 
新生兒準備物品5大類(食衣住行育樂)-1
新生兒準備物品5大類(食衣住行育樂)-1新生兒準備物品5大類(食衣住行育樂)-1
新生兒準備物品5大類(食衣住行育樂)-1
 
Modul 3
Modul 3Modul 3
Modul 3
 
Presentación ingles kiara unad
Presentación ingles kiara unadPresentación ingles kiara unad
Presentación ingles kiara unad
 
Alfabetatze mediatikoa eta digitala 2014
Alfabetatze mediatikoa eta digitala 2014Alfabetatze mediatikoa eta digitala 2014
Alfabetatze mediatikoa eta digitala 2014
 

Similar to Graphics File Formats Guide Under 40 Characters

Chapter 23: Web Images
Chapter 23: Web ImagesChapter 23: Web Images
Chapter 23: Web ImagesSteve Guinan
 
Photoshop graphic intro ppt by kartik mandothiya
Photoshop graphic intro ppt by kartik mandothiyaPhotoshop graphic intro ppt by kartik mandothiya
Photoshop graphic intro ppt by kartik mandothiyaKartik Mandothiya
 
Types of Images & File Types
Types of Images & File TypesTypes of Images & File Types
Types of Images & File TypesChris Chapman
 
Raster vs vector
Raster vs vectorRaster vs vector
Raster vs vectorakn4fotos
 
Presentation on images
Presentation on imagesPresentation on images
Presentation on imagesumme farwa
 
Using Graphics in Real-World Tech Comm
Using Graphics in Real-World Tech CommUsing Graphics in Real-World Tech Comm
Using Graphics in Real-World Tech Commseanb_us
 
Week 6 Task File Formats
Week 6 Task   File FormatsWeek 6 Task   File Formats
Week 6 Task File Formatsguest2cf876
 
GJU MM Unit 3.pdf
GJU MM Unit 3.pdfGJU MM Unit 3.pdf
GJU MM Unit 3.pdfdiljots78
 
Image optimization and you
Image optimization and youImage optimization and you
Image optimization and youJohannes Siipola
 

Similar to Graphics File Formats Guide Under 40 Characters (20)

P1.1
P1.1 P1.1
P1.1
 
Chapter 23: Web Images
Chapter 23: Web ImagesChapter 23: Web Images
Chapter 23: Web Images
 
Photoshop graphic intro ppt by kartik mandothiya
Photoshop graphic intro ppt by kartik mandothiyaPhotoshop graphic intro ppt by kartik mandothiya
Photoshop graphic intro ppt by kartik mandothiya
 
Portfolio Task 5
Portfolio Task 5Portfolio Task 5
Portfolio Task 5
 
Portfolio Task 5
Portfolio Task 5Portfolio Task 5
Portfolio Task 5
 
Portfolio T
Portfolio TPortfolio T
Portfolio T
 
Chapter Six
Chapter SixChapter Six
Chapter Six
 
graphics
graphicsgraphics
graphics
 
Types of Images & File Types
Types of Images & File TypesTypes of Images & File Types
Types of Images & File Types
 
Raster vs vector
Raster vs vectorRaster vs vector
Raster vs vector
 
Unit 78 technical file
Unit 78 technical fileUnit 78 technical file
Unit 78 technical file
 
Artdm171 Week6 Images
Artdm171 Week6 ImagesArtdm171 Week6 Images
Artdm171 Week6 Images
 
Presentation on images
Presentation on imagesPresentation on images
Presentation on images
 
Using Graphics in Real-World Tech Comm
Using Graphics in Real-World Tech CommUsing Graphics in Real-World Tech Comm
Using Graphics in Real-World Tech Comm
 
Sources of Photos and Graphics
Sources of Photos and GraphicsSources of Photos and Graphics
Sources of Photos and Graphics
 
Ppt ch08
Ppt ch08Ppt ch08
Ppt ch08
 
Ppt ch08
Ppt ch08Ppt ch08
Ppt ch08
 
Week 6 Task File Formats
Week 6 Task   File FormatsWeek 6 Task   File Formats
Week 6 Task File Formats
 
GJU MM Unit 3.pdf
GJU MM Unit 3.pdfGJU MM Unit 3.pdf
GJU MM Unit 3.pdf
 
Image optimization and you
Image optimization and youImage optimization and you
Image optimization and you
 

Recently uploaded

Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Narsimha murthy
 
Introduction-to-Canva-and-Graphic-Design-Basics.pptx
Introduction-to-Canva-and-Graphic-Design-Basics.pptxIntroduction-to-Canva-and-Graphic-Design-Basics.pptx
Introduction-to-Canva-and-Graphic-Design-Basics.pptxnewslab143
 
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一diploma 1
 
NATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailNATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailDesigntroIntroducing
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
Kindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpKindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpmainac1
 
西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造kbdhl05e
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRdollysharma2066
 
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full NightCall Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证nhjeo1gg
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricksabhishekparmar618
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girlsssuser7cb4ff
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130Suhani Kapoor
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一F dds
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)jennyeacort
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一lvtagr7
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfSumit Lathwal
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Servicejennyeacort
 
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...Amil baba
 

Recently uploaded (20)

Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
 
Introduction-to-Canva-and-Graphic-Design-Basics.pptx
Introduction-to-Canva-and-Graphic-Design-Basics.pptxIntroduction-to-Canva-and-Graphic-Design-Basics.pptx
Introduction-to-Canva-and-Graphic-Design-Basics.pptx
 
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
 
NATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailNATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detail
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
Kindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpKindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUp
 
西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
 
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full NightCall Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
 
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricks
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girls
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdf
 
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
 
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
 

Graphics File Formats Guide Under 40 Characters

  • 2. Computer Graphics • “Computer graphics refers to using a computer to create or manipulate any kind of picture, image, or diagram.” • Typically you manipulate an image on your computer with a graphics editing program – MS Paint – Adobe Photoshop – GIMP – Etc.
  • 3. Bitmapped Graphics • There are two basic types of graphics: – Bitmapped and – Vector • Bitmapped graphics are much more common • Often they are called raster graphics • When you create a bitmapped graphic you are basically creating a bunch of colored dots
  • 4. Bitmapped Graphics, cont. • The bitmapped graphic is stored as an array of dots, or pixels • Each pixel gets assigned a specific color • The more pixels you have, the more detailed the image can be – Imagine only have one pixel, all you get is a dot • Some common bitmap graphics programs are: – Photoshop – Paint Shop Pro – GIMP – Photo-Paint – Graphic Converter • These are paint programs
  • 5. Exaggerated Example of a Bitmap Image
  • 6. Vector Graphics • The second major type of computer graphics • Vector graphics are created and manipulated using drawing programs (as opposed to paint programs for bitmapped graphics) • Instead of using pixels to describe the image, it describes the image using shapes – Circles – Lines – Curves • Also has to store the color of these shapes • A verbal example would be something like: – “A yellow circle with a center here and a radius of x, a purple line from here to here”
  • 7. Vector Graphics, cont. • The programs used with vector graphics are drawing programs • Some of these programs include: – Corel Draw – Adobe Illustrator – Acrobat • Most of these programs allow the use of bitmapped images as part of a vector image – Does not make them paint programs – Bitmaps are a type of object (like a circle) that can be inserted into a vector image
  • 8. Bitmap vs. Vector Images • Bitmap and vector images are obviously different • Both have strengths and weaknesses • They don’t manipulate images in the same way • They don’t store images in the same way • The images are edited differently
  • 9. Bitmap Images • Very flexible – Any image can be represented (with enough pixels) • Created by scanners, digital cameras, and other similar devices • Used most commonly, especially on the web • Can be displayed directly on your computer screen if 1 image pixel is the same size as 1 screen pixel • Takes a lot of memory – The color of each pixel must be stored – Can be compressed
  • 10. Vector Images • Easy to change parts of the image since each part is stored as a different shape • Can manipulate the image smoothly – Rotating, changing color, size, line width, etc. • Limited to the shapes the program can handle • Typically takes less memory and disk space than a bitmap • Must be converted to a bitmap to display
  • 11. File Formats • Once we’ve chosen which graphics format we’re going to use now we have to select which file format • Each way of storing an image is called a file format • Each file format converts the image to a corresponding string of bits differently in order to store them on disk or transmit them over the Internet • It’s beyond the scope of this course to discuss how these images are converted • But, we will discuss the common file formats
  • 12. File Formats, cont. • Hopefully, you’re familiar with JPEG and GIF file formats (at least in name only) • You can’t just rename “somepicture.gif” to “somepicture.jpg” and expect to get the desired result – Can’t just rename a .doc file as .ppt and expect a presentation out of it • Images have to be converted from one file format to another
  • 13. Common File Formats Bitmap Formats • GIF: graphics interchange format • JPEG: joint photographic experts group • PNG: portable network graphic • BMP: Windows bitmap • TIFF: tagged image file format Vector Formats • SVG : scalable vector graphics • EPS: encapsulated postscript • CMX: Corel meta exchange • PICT: Macintosh Picture • WMF: Windows metafile
  • 14. How to Pick a File Format? • Type: does the file format store the type of image you want to use (bitmap or vector)? • Portability: can other people use images in this format? • Color Depth: does the format support the number of colors you need? • Compression: can make the file smaller, but it takes time to compress and decompress a file • Transparency: do parts of your image need to be transparent?
  • 15. Color Depth • Image formats will only allow a certain number of different colors for each pixel – Depends on the number of bits assigned to each pixel • The format stores the level of each of the three values for RGB to specify color • R,G,and B are referred to as components – Ex. “The red component” • Bit depth describes the number of colors that can be used in the image
  • 16. Bit Depth • 24-bit image allows you to specify up to 224 different colors in your image – For each of the RGB values you can specify 28 different values (256 values) • Remember in the color section RGB went from 0- 255 – 28 values for R, for G, and for B gives us 224 different colors • The “24” in 24-bit says how many bits it takes to store a single color
  • 17. Bit Depth cont. • While most photos look good with 24-bit color, we can have less than that • 15-bit color can have 215 different colors with 25 possible values for each component • 15-bit color is usually referred to as 16-bit color – Use an extra bit for green (we’re more sensitive to it)
  • 18. Formats with Fewer Colors • Usually images with smaller numbers of colors are paletted or indexed • Some colors are selected to be in the image’s palette • For each pixel, then you only have to store the number which indicates which palette color you want – Instead of specifying its RGB values, specify the number associated with the color – Red could have a value of “12”
  • 19. Palettes • If you have an 8-bit image, the palette will have 28 (256) colors – Each of the 256 colors in the palette come from the possible 224 different colors in a 24-bit image • A 1-bit image can have 21 (2) different colors – Usually black and white
  • 20. Colors vs. Image Size • It’s nice to use as many colors as possible, especially when dealing with photographs • But, the more colors, the larger the image is to store – More information is required for each pixel • Can work in 24-bit color then save the image with fewer colors for storage or using online
  • 21. What if your image has more colors than the color depth? • Usually the graphics program will select colors that closely match those in your image • If the color is not in the palette, the program can choose a separate, close color, or do dithering • Dithering is where the program fools your eye by creating a pattern of pixels in two colors which makes you see a color between the two
  • 22. Dithering Plain Gray Image Image which appears this shade gray because of dithering. It actually contains white and gray pixels
  • 23. Not All Dithering is the Same Diffusion Pattern Noise •This shows an example of three different ways to dither the image. •Some types of dithering may work better than others depending on the image in question. •Some programs allow you to select the type of dithering (Photoshop, e.g.)
  • 24. Dithering with Color Color I want to produce Dithering with only 2 colors, orange and white Dithering with all web-safe colors enabled Zoomed View of dithering
  • 26. Seurat’s Sunday Afternoon on the Island of La Grande Jatte
  • 27. Compression • Compression is used to make files smaller • Bitmap images, especially, can be quite large if stored without compression – Ex. A 640 x 480 pixel image with 24-bit color depth would take: • 640 * 480*24 bits = 7372800 bits = 900kB • Windows bmp format is uncompressed – Should NEVER be used online
  • 28. Lossy vs. Lossless Compression • There are two main types of compression: – Lossy and – Lossless • When an image is compressed and later uncompressed with a lossless algorithm, the image is exactly the same – Most common type – No information is lost • Lossy algorithms produce images which may be slightly different before compression and after uncompressing – Some information may be lost – Can produce sometimes produce much smaller files than a lossless algorithm – Can be used when the difference isn’t very noticeable – Often takes into account human anatomy • We can’t tell the difference between certain values of color
  • 29. JPEG • The JPEG format was designed for photographs at high quality and in full color • Lossy compression format • Normally changes can’t be seen except at the lowest quality settings • Bad idea to store simple black and white files as JPEGs • Good for 8-bit grayscale
  • 30. GIF and PNG • GIF uses LZW compression algorithm developed by Unisys – It’s patented (or was patented) • PNG was created as an alternative to GIF – FREE!!!! • Both are used for the web frequently because they support transparency • For this course, you should try and use PNG instead of GIF – Considered better algorithm – No patent issues
  • 31. Transparency • Allows part of the image to be transparent – The background will show through • Often used with graphics on web pages – The image is still a rectangle – Parts of the background show through so it doesn’t look like a rectangle • Not all image formats support transparency
  • 32. Simple Transparency • GIF supports simple transparency • Some pixels are marked as transparent – The background will show through • Images can appear any shape • It’s “all or nothing” transparency – Either the pixel is completely transparent or its not
  • 33. Example of GIF Transparency •GIF with a white background. •Unsightly for web pages •GIF with a transparent background. •Image is the same size as image on left •But, background shows through
  • 34. Alpha Channel • Alpha channel is a more general method of transparency • Images now have two parts: – The image – A mask, called the alpha channel • The alpha channel indicates how transparent each pixel is • If supported by the program and format, you can specify partial transparency of images • GIMP and Photoshop support full transparency • So does the PNG format • If it’s not supported, the advanced transparency information is ignored
  • 35. Why Use Transparency? • You could simply color the background of your image to the same color as the background of your webpage • What happens, though, if you decide to change the background color on your site? – Have to change every single image! • Better to use transparency for images with shapes (like the snail) – Not necessary for square images like a photograph
  • 36. Common File Formats for the Web • The three most common file formats on the web are: – JPEG (.jpg) – GIF (.gif) – PNG (.png) • Most programs have their own file format called a native format – These formats are unique to the program – Good because you can save without losing any information • They use no compression or lossless compression – Can’t use these online because browsers can’t display them and people can’t necessarily open them
  • 37. JPEG • JPEG : Joint Photographic Experts Group • .jpg is the file extension (normally) • Bitmap format • Lossy compression • 24-bit color or 8-bit gray-scale – Like you’d get from a digital camera or scanner
  • 38. GIF • GIF : Graphics Interchange Format • .gif file extension • Bitmap format • Lossless compression • Used a lot on the web • Good for simple animations and simple transparency • Limited to 8-bit color (256 colors) • Compression algorithm is patented
  • 39. PNG • PNG : Portable Network Graphic • Bitmap format • Lossless compression • Replacement for GIF (no patent!) • Better compression algorithm than GIF • Supports 24-bit color and full transparency
  • 40. Other Common File Formats • You can read about the other common file formats in section 3.6 of your course pack • The ones listed are: BMP, TIFF, EPS, and SVG • BMP and TIFF are bitmapped graphics • EPS and SVG are vector graphics
  • 41. Be Sure to Know • The differences between vector and bitmapped graphics – Their properties – How they work (shapes vs. pixels) • You should be very familiar with the information about JPEG, GIF, and PNG. • Also know BMP, and at least one vector graphics file format
  • 42. Questions? Seurat’s Grey weather, Grande Jatte