1 / 14

Computer Graphics

Computer Graphics Graphics software allows users to create and edit graphics Graphics can be divided into 2 types: Bitmap (Raster) Graphics Vector Graphics Pixel Bitmap Graphics A bitmap graphic is represented by a dot pattern Each dot is called a Pixel (picture element)

Audrey
Download Presentation

Computer Graphics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Graphics • Graphics software allows users to create and edit graphics • Graphics can be divided into 2 types: • Bitmap (Raster) Graphics • Vector Graphics

  2. Pixel Bitmap Graphics • A bitmap graphic is represented by a dot pattern • Each dot is called a Pixel (picture element) • A pixel has a single color only

  3. Vector Graphics • A vector graphic is divided into objects • Each object is defined by the method of drawing it This picture contains 3 objects:a line, a circle and a rectangle

  4. Fill color Radius Line color Line thickness Center How to draw the circle? • The circle is represented by a mathematical formula: Circle(50,100,150,black,1,green) A few bits is enough to save the properties of this circle!

  5. Advantages of using Vector Graphics: • It requires less storage space • When a vector graphic is enlarged, it remains intact (no distortion) Enlarging a Vector Graphic The line is as smooth as before Enlarging a Bitmap Graphic The line thickened & saw-tooth resulted

  6. Disadvantages of using Vector Graphics: • Vector graphics cannot look as realistic as bitmap pictures.

  7. Common Graphic File Format Bitmap (.bmp) - a common graphic file format;can be read by almost all programs Gif (.gif) - a compressed bitmap file format. It can support up to 256 colors Jpeg (.jpg) - a lossy compressed bitmap file format. But it can support up to 16.7 million colors (because it applies lossy compression, some of the details is lost!)

  8. Jpeg Format (5kB) Gif Format (26kB)

  9. Comparison Table:

  10. Creating Graphics • Painting Software • Drawing Software • Presentation Software

  11. Painting Software • A painting program creates an image by setting the colors of individual screen pixels. • The pictures created by a painting program are thus bitmap graphics. • Example: Paintbrush, PhotoImpact

  12. Drawing Software • A drawing program generates formulae to represent the objects drawn by users. The pictures created are thus object-oriented graphics. • In using a drawing program, you are provided with a variety of drawing tools. • Example: Corel Draw and Powerpoint.

  13. Presentation Software • A presentation program is a drawing program that help users to prepare the essential components of a presentation - presentation outlines, slides, audience handouts and speaker’s notes. • Users can also use a presentation program to run an on-screen slide show. • Example: Microsoft PowerPoint.

  14. Importing Graphics • Clip Art Library • Image Scanner • Screen Capture Outputting Graphics • Printer • Plotter

More Related