SlideShare a Scribd company logo
1 of 17
C
      om
    Computer Graphics:

         pu
    A Brief Introduction
           te
              rG
                ra
                   ph
                     ic
1                    s
Overview
    •   Purpose
    •   Terminology & concept

                   C
                     om
    •   Formats


                         pu
    •   Use of computer graphics


                            te
        – Electronic Publications


                              rG
        – Print Publications


                                  ra
                                       ph
        – Presentations and Websites



                                        ic
    • Softwares

2                                       s
Purpose
    • The right format for the right application
    • Incorrect format/resolution may lead to:


                      C
       – Bloated PPT presentations (if it’s >30 MB with no video,



                        om
         you’re doing it wrong)
       – Bloated documents (particularly dissertations)



                             pu
           • Microsoft Word hates big documents




                                  te
       – Blurry images (particularly in print)



                                     rG
       – Irate editors




                                          ra
                                             ph
                                                  This 23-slide image-only presentation
                                                       can definitely be optimized…




                                                  ic
3                                                     s
Terminology
    • Raster vs. vector
      – Raster (bitmap)


                   C
         • Defines color of each


                      om
           pixel in a bitmap



                           pu
         • Good for photographs



                               te
         • Limited scalability



                                  rG
         • Most common format
      – Vector


                                        ra
                                         ph
         • Defines starting points
           and paths


                                             ic
                                             s
         • Good for simple shapes
           (logos)
         • Scalable, suitable for use
4          in banners
Terminology
    • Resolution (for raster images)
       – Typically expressed in dpi (dots per inch) or similar
       – Defines how many pixels (bit) per inch – higher resolution allows



                        C
         more detail per inch



                            om
           • 900 x 600 pixel image at 300 dpi has print size of 3” x 2”




                                  pu
       – 72 dpi for screen display (presentations, websites)
       – >200 dpi for print publications (journals, brochures, books)



                                       te
       – Most journal wants at least 300 dpi



                                           rG
    • Compression



                                                 ra
       – None: largest file size, most compatible




                                                     ph
       – Lossless: can be converted to original reversibly
       – Lossy: loss of original information during compression, typically



                                                           ic
         smaller file size



                                                              s
       – Usually relevant only when image is saved as stand-alone instead of
         being embedded – word processors or presentation software will
         attempt to compress regardless
5
Optimizing Files with Embedded Images
    • A bloated .ppt or .doc file typically has embedded
      images with large pixel count
    • Resizing images in MS Powerpoint or Word does


                    C
                      om
      NOT modify pixel count
    • Modern digital photographs typically have little


                           pu
      compression and large pixel count (justified by its


                              te
      potential use in print)


                                 rG
       – Using images directly from a 8 MP (megapixel) camera
         to .ppt or .doc = guaranteed bloat


                                     ra
    • Optimized image should have the correct


                                        ph
      dimensions with minimally acceptable resolution


                                            ic
      without further resizing


                                              s
    • Image manipulation software is essential in
      adjusting actual pixel count!
6
Raster File Formats
    • For more information:
      http://en.wikipedia.org/wiki/Comparison_of_graphics_file_formats
    • BMP



                      C
       – Raster, no compression



                         om
       – Large file size in disk (direct relation to pixel count)



                              pu
       – Default output of MS Paint



                                  te
       – Generally word processing/presentation software will compress



                                      rG
         internally
    • JPEG (Joint Photographic Experts Group)



                                           ra
       – Both a file format and method of compression



                                              ph
       – Raster, lossy compression (the “MP3 of digital photos”)



                                                  ic
       – File size depends on both pixel count and compression quality



                                                     s
       – Generally preferred for photographs & paintings with smooth
         variations of tone and color
7
Raster File Formats
    • GIF (Graphic Interchange Format)
       –   Raster, lossless (LZW) compression
       –   Limited color depth (256 color)



                         C
                            om
       –   Small file size
       –   Supports transparency and animation




                                  pu
       –   Still primarily used for animated pictures on websites




                                      te
    • PNG (Portable Network Graphics)



                                          rG
       – Developed to improve upon GIF
       – Raster, lossless compression




                                                ra
       – Greater color depth (24-bit RGB), allowing more subtle tone and color




                                                   ph
         than GIF
       – Supports transparency



                                                        ic
                                                           s
       – Small file size (comparable to GIF)
       – Preferred for text and line arts with sharp transitions (e.g., logos)

8
Vector File Formats
    • EPS (Encapsulated PostScript)
       – Subset of PDF



                    C
       – Widely supported in publishing programs


                       om
       – Preferred format for logos – allows unlimited



                           pu
         scaling with small file size



                               te
       – No browser support



                                  rG
    • SVG (Scalable Vector Graphics)


                                       ra
       – Allows static and animated images



                                          ph
       – Less widely supported



                                             ic
       – Limited browser support (Safari, Opera)


9                                               s
The Power of Vector Graphic Format



         C
           om
             pu
                te
                  rG
                     ra
                       ph
                          ic
10                        s
Raster File Format
 • TIFF (Tagged Image File Format)
     – Raster graphics, may contain some vector


                C
       information

                  om
     – Any compression: none, lossless, lossy (JPG)


                      pu
     – May contain additional information (e.g., camera

                          te
                            rG
       model) stored in ‘tags’



                                ra
     – Due to flexibility, not suitable for use in web


                                   ph
       browsers


                                      ic
     – The preferred standard for printing and scanning


11                                      s
Electronic Publications
 • Includes papers, reports, and dissertation
 • May be read in either print or electronic format

                C
                  om
 • Resolution 200-300 dpi without resizing unless


                      pu
   specified otherwise


                         te
     – Enough to be printed well on standard paper


                           rG
     – Not too large in size (must optimize)


                               ra
 • Usual formats: JPG, PNG, TIFF, EPS (less

                                  ph
                                     ic
   common)


12                                     s
Print Publications
 • Includes brochures, books, portraits, pocket
   guides


              C
                om
 • Must have high resolution, >300 dpi (based on
   final print size) recommended

                    pu
                       te
 • Usual formats: TIFF, PNG, JPG, EPS


                         rG
 • Use vector graphics whenever possible to reduce

                            ra
   file size (e.g., ICOM’08 banner is saved in vector

                               ph
   form)

                                  ic
                                    s
 • In general, size is of secondary importance
13
Presentations and Websites
 • Viewed either in browsers or projected on
   screen


              C
                om
 • Resolution of 72-144 dpi, without resizing


                   pu
 • Smaller size means more responsive


                      te
   presentation or webpage


                        rG
 • Usual formats: JPG, PNG, GIF

                            ra
                              ph
 • Use animations sparingly!


                                 ic
14                                 s
Image Manipulation Software
 • Raster
     – Adobe Photoshop (Windows/Mac)



                   C
     – Microsoft Paint (Windows, very limited features)



                     om
     – Microsoft Office Picture Manager / Photo Editor (MS Office
       suite, limited features)


                         pu
     – GIMP (GNU Image Manipulation Program):


                             te
       http://www.gimp.org (Windows/Mac/Linux)


                               rG
 • Vector


                                   ra
     –   Adobe Illustrator (Windows/Mac)


                                      ph
     –   Adobe Flash (Windows/Mac, geared toward animation)



                                          ic
     –   Inkscape: http://www.inkscape.org (Windows/Mac/Linux)


                                            s
     –   OpenOffice.org Draw (Windows/Mac/Linux)

16
Manipulating Image Size
 • Work with image with highest detail (highest
   pixel count) as possible


                 C
     – You cannot turn low res image into higher res


                   om
       without reducing size proportionally


                       pu
     – Example: 12” x 8” image at 72 dpi can be turned


                          te
       into 3” x 2” image at 288 dpi (pixel count remains


                            rG
       the same: 864 x 576 px.)


                                 ra
 • Image manipulation program will attempt to


                                   ph
   interpolate when pixel count changes


                                      ic
     – Quality tends to be better preserved when px. count


                                         s
       decreases rather than increases
17
Conclusion
 • Bloated file? Try resizing some images using
   image manipulation software


                 C
                   om
 • General rule for resolution:


                       pu
     – 72 dpi for electronic



                           te
     – 300 dpi for print (when in doubt, print out!)


                             rG
                                 ra
                                    ph
                                       ic
18                                       s

More Related Content

Similar to Computer Graphics Brief Tutorial

Technical Files Presentation
Technical Files PresentationTechnical Files Presentation
Technical Files PresentationWildOakForrest
 
12.m3 cms content-updating-pt1
12.m3 cms content-updating-pt112.m3 cms content-updating-pt1
12.m3 cms content-updating-pt1tarensi
 
Technical File Presentation Version 2
Technical File Presentation Version 2Technical File Presentation Version 2
Technical File Presentation Version 2WildOakForrest
 
Technical glossary steve task 1
Technical glossary steve task 1Technical glossary steve task 1
Technical glossary steve task 1benstoraro
 
Technical glossary steve task 1
Technical glossary steve task 1Technical glossary steve task 1
Technical glossary steve task 1benstoraro
 
Siva Priya.pptx
Siva Priya.pptxSiva Priya.pptx
Siva Priya.pptxPriyaSomu2
 
Portfolio task 5 - Imaging presentation
Portfolio task 5 - Imaging presentationPortfolio task 5 - Imaging presentation
Portfolio task 5 - Imaging presentationJakki_Oh
 
Task 1 – digital graphics for computer games
Task 1 – digital graphics for computer gamesTask 1 – digital graphics for computer games
Task 1 – digital graphics for computer gamesJames-003
 
Graphic hardware and software
Graphic hardware and softwareGraphic hardware and software
Graphic hardware and softwarerafhat
 
Technical glossary
Technical glossaryTechnical glossary
Technical glossaryhalo4robo
 
Basic of photo editing
Basic of photo editingBasic of photo editing
Basic of photo editingSweetie Estupa
 
Stem 71 24 multimedia elements - graphics
Stem 71 24   multimedia elements - graphicsStem 71 24   multimedia elements - graphics
Stem 71 24 multimedia elements - graphicsKelly Bauer
 
Btec creative media production digital graphics technology
Btec creative media production digital graphics technologyBtec creative media production digital graphics technology
Btec creative media production digital graphics technologyhaverstockmedia
 

Similar to Computer Graphics Brief Tutorial (20)

MM1
MM1MM1
MM1
 
Technical File
Technical FileTechnical File
Technical File
 
Unit 78 technical file
Unit 78 technical fileUnit 78 technical file
Unit 78 technical file
 
Files and stuff
Files and stuffFiles and stuff
Files and stuff
 
Technical Files Presentation
Technical Files PresentationTechnical Files Presentation
Technical Files Presentation
 
12.m3 cms content-updating-pt1
12.m3 cms content-updating-pt112.m3 cms content-updating-pt1
12.m3 cms content-updating-pt1
 
Technical File Presentation Version 2
Technical File Presentation Version 2Technical File Presentation Version 2
Technical File Presentation Version 2
 
Technical glossary steve task 1
Technical glossary steve task 1Technical glossary steve task 1
Technical glossary steve task 1
 
Technical glossary steve task 1
Technical glossary steve task 1Technical glossary steve task 1
Technical glossary steve task 1
 
Siva Priya.pptx
Siva Priya.pptxSiva Priya.pptx
Siva Priya.pptx
 
Portfolio task 5 - Imaging presentation
Portfolio task 5 - Imaging presentationPortfolio task 5 - Imaging presentation
Portfolio task 5 - Imaging presentation
 
Task 1 – digital graphics for computer games
Task 1 – digital graphics for computer gamesTask 1 – digital graphics for computer games
Task 1 – digital graphics for computer games
 
Ha2 task 1
Ha2 task 1Ha2 task 1
Ha2 task 1
 
Graphic hardware and software
Graphic hardware and softwareGraphic hardware and software
Graphic hardware and software
 
Technical glossary
Technical glossaryTechnical glossary
Technical glossary
 
Basic of photo editing
Basic of photo editingBasic of photo editing
Basic of photo editing
 
Stem 71 24 multimedia elements - graphics
Stem 71 24   multimedia elements - graphicsStem 71 24   multimedia elements - graphics
Stem 71 24 multimedia elements - graphics
 
Task 1
Task 1Task 1
Task 1
 
Btec creative media production digital graphics technology
Btec creative media production digital graphics technologyBtec creative media production digital graphics technology
Btec creative media production digital graphics technology
 
Grade 8 image file format
Grade 8   image file formatGrade 8   image file format
Grade 8 image file format
 

More from Ashish Srivastava

More from Ashish Srivastava (9)

Effective presentation skills
Effective presentation skillsEffective presentation skills
Effective presentation skills
 
Photoshop Tools
Photoshop ToolsPhotoshop Tools
Photoshop Tools
 
Using Adobe Photoshop cs
Using Adobe Photoshop csUsing Adobe Photoshop cs
Using Adobe Photoshop cs
 
Learn Illustrator
Learn IllustratorLearn Illustrator
Learn Illustrator
 
Ai tool box 1
Ai tool box 1Ai tool box 1
Ai tool box 1
 
Concepts of Graphics- Color
Concepts of Graphics- ColorConcepts of Graphics- Color
Concepts of Graphics- Color
 
Advanced dreamweaver
Advanced dreamweaverAdvanced dreamweaver
Advanced dreamweaver
 
Illustrated introductory DreamWeaver
Illustrated introductory DreamWeaverIllustrated introductory DreamWeaver
Illustrated introductory DreamWeaver
 
Color Gamuts and Spot Colors
Color Gamuts and Spot ColorsColor Gamuts and Spot Colors
Color Gamuts and Spot Colors
 

Recently uploaded

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 

Recently uploaded (20)

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

Computer Graphics Brief Tutorial

  • 1. C om Computer Graphics: pu A Brief Introduction te rG ra ph ic 1 s
  • 2. Overview • Purpose • Terminology & concept C om • Formats pu • Use of computer graphics te – Electronic Publications rG – Print Publications ra ph – Presentations and Websites ic • Softwares 2 s
  • 3. Purpose • The right format for the right application • Incorrect format/resolution may lead to: C – Bloated PPT presentations (if it’s >30 MB with no video, om you’re doing it wrong) – Bloated documents (particularly dissertations) pu • Microsoft Word hates big documents te – Blurry images (particularly in print) rG – Irate editors ra ph This 23-slide image-only presentation can definitely be optimized… ic 3 s
  • 4. Terminology • Raster vs. vector – Raster (bitmap) C • Defines color of each om pixel in a bitmap pu • Good for photographs te • Limited scalability rG • Most common format – Vector ra ph • Defines starting points and paths ic s • Good for simple shapes (logos) • Scalable, suitable for use 4 in banners
  • 5. Terminology • Resolution (for raster images) – Typically expressed in dpi (dots per inch) or similar – Defines how many pixels (bit) per inch – higher resolution allows C more detail per inch om • 900 x 600 pixel image at 300 dpi has print size of 3” x 2” pu – 72 dpi for screen display (presentations, websites) – >200 dpi for print publications (journals, brochures, books) te – Most journal wants at least 300 dpi rG • Compression ra – None: largest file size, most compatible ph – Lossless: can be converted to original reversibly – Lossy: loss of original information during compression, typically ic smaller file size s – Usually relevant only when image is saved as stand-alone instead of being embedded – word processors or presentation software will attempt to compress regardless 5
  • 6. Optimizing Files with Embedded Images • A bloated .ppt or .doc file typically has embedded images with large pixel count • Resizing images in MS Powerpoint or Word does C om NOT modify pixel count • Modern digital photographs typically have little pu compression and large pixel count (justified by its te potential use in print) rG – Using images directly from a 8 MP (megapixel) camera to .ppt or .doc = guaranteed bloat ra • Optimized image should have the correct ph dimensions with minimally acceptable resolution ic without further resizing s • Image manipulation software is essential in adjusting actual pixel count! 6
  • 7. Raster File Formats • For more information: http://en.wikipedia.org/wiki/Comparison_of_graphics_file_formats • BMP C – Raster, no compression om – Large file size in disk (direct relation to pixel count) pu – Default output of MS Paint te – Generally word processing/presentation software will compress rG internally • JPEG (Joint Photographic Experts Group) ra – Both a file format and method of compression ph – Raster, lossy compression (the “MP3 of digital photos”) ic – File size depends on both pixel count and compression quality s – Generally preferred for photographs & paintings with smooth variations of tone and color 7
  • 8. Raster File Formats • GIF (Graphic Interchange Format) – Raster, lossless (LZW) compression – Limited color depth (256 color) C om – Small file size – Supports transparency and animation pu – Still primarily used for animated pictures on websites te • PNG (Portable Network Graphics) rG – Developed to improve upon GIF – Raster, lossless compression ra – Greater color depth (24-bit RGB), allowing more subtle tone and color ph than GIF – Supports transparency ic s – Small file size (comparable to GIF) – Preferred for text and line arts with sharp transitions (e.g., logos) 8
  • 9. Vector File Formats • EPS (Encapsulated PostScript) – Subset of PDF C – Widely supported in publishing programs om – Preferred format for logos – allows unlimited pu scaling with small file size te – No browser support rG • SVG (Scalable Vector Graphics) ra – Allows static and animated images ph – Less widely supported ic – Limited browser support (Safari, Opera) 9 s
  • 10. The Power of Vector Graphic Format C om pu te rG ra ph ic 10 s
  • 11. Raster File Format • TIFF (Tagged Image File Format) – Raster graphics, may contain some vector C information om – Any compression: none, lossless, lossy (JPG) pu – May contain additional information (e.g., camera te rG model) stored in ‘tags’ ra – Due to flexibility, not suitable for use in web ph browsers ic – The preferred standard for printing and scanning 11 s
  • 12. Electronic Publications • Includes papers, reports, and dissertation • May be read in either print or electronic format C om • Resolution 200-300 dpi without resizing unless pu specified otherwise te – Enough to be printed well on standard paper rG – Not too large in size (must optimize) ra • Usual formats: JPG, PNG, TIFF, EPS (less ph ic common) 12 s
  • 13. Print Publications • Includes brochures, books, portraits, pocket guides C om • Must have high resolution, >300 dpi (based on final print size) recommended pu te • Usual formats: TIFF, PNG, JPG, EPS rG • Use vector graphics whenever possible to reduce ra file size (e.g., ICOM’08 banner is saved in vector ph form) ic s • In general, size is of secondary importance 13
  • 14. Presentations and Websites • Viewed either in browsers or projected on screen C om • Resolution of 72-144 dpi, without resizing pu • Smaller size means more responsive te presentation or webpage rG • Usual formats: JPG, PNG, GIF ra ph • Use animations sparingly! ic 14 s
  • 15. Image Manipulation Software • Raster – Adobe Photoshop (Windows/Mac) C – Microsoft Paint (Windows, very limited features) om – Microsoft Office Picture Manager / Photo Editor (MS Office suite, limited features) pu – GIMP (GNU Image Manipulation Program): te http://www.gimp.org (Windows/Mac/Linux) rG • Vector ra – Adobe Illustrator (Windows/Mac) ph – Adobe Flash (Windows/Mac, geared toward animation) ic – Inkscape: http://www.inkscape.org (Windows/Mac/Linux) s – OpenOffice.org Draw (Windows/Mac/Linux) 16
  • 16. Manipulating Image Size • Work with image with highest detail (highest pixel count) as possible C – You cannot turn low res image into higher res om without reducing size proportionally pu – Example: 12” x 8” image at 72 dpi can be turned te into 3” x 2” image at 288 dpi (pixel count remains rG the same: 864 x 576 px.) ra • Image manipulation program will attempt to ph interpolate when pixel count changes ic – Quality tends to be better preserved when px. count s decreases rather than increases 17
  • 17. Conclusion • Bloated file? Try resizing some images using image manipulation software C om • General rule for resolution: pu – 72 dpi for electronic te – 300 dpi for print (when in doubt, print out!) rG ra ph ic 18 s