Back to 课程

Computer Science AS CIE

0% Complete
0/0 Steps
  1. data-representation as
    5 主题
  2. multimedia as
    3 主题
  3. compression as
    2 主题
  4. networks-and-the-internet as
    11 主题
  5. computers-and-components as
    5 主题
  6. logic-gates-and-logic-circuits as
    2 主题
  7. central-processing-unit-cpu-architecture as
    6 主题
  8. assembly-language- as
    4 主题
  9. bit-manipulation as
    1 主题
  10. operating-systems as
    3 主题
  11. language-translators as
    2 主题
  12. data-security as
    3 主题
  13. data-integrity as
    1 主题
  14. ethics-and-ownership as
    3 主题
  15. database-concepts as
    3 主题
  16. database-management-systems-dbms- as
    1 主题
  17. data-definition-language-ddl-and-data-manipulation-language-dml as
    1 主题
  18. computational-thinking-skills as
    1 主题
  19. algorithms as
    4 主题
  20. data-types-and-records as
    2 主题
  21. arrays as
    2 主题
  22. files as
    1 主题
  23. introduction-to-abstract-data-types-adt as
    1 主题
  24. programming-basics as
    1 主题
  25. constructs as
    2 主题
  26. structured-programming as
    1 主题
  27. program-development-life-cycle as
    1 主题
  28. program-design- as
    2 主题
  29. program-testing-and-maintenance as
    3 主题
课 Progress
0% Complete

Exam code:9618

Vector graphics

What is a vector graphic?

  • A vector graphic is created from mathematical equations and points

  • Only the mathematics used to create the image are stored

  • For example, to create a circle the data stored would be:

    • Centre point (x, y coordinates)

    • Radius

  • Typical examples of vector images are logos and clipart

image-2---vector-image
  • Vector images are infinitely scalable

  • Ideal for situations where the same image will be made bigger and smaller and a loss of quality is unacceptable

    • For example, the same logo used on both a pencil and a billboard

  • A vector graphic contains a drawing list (included in the file header)

  • A typical drawing list will contain:

    • Commands used to create each object in the image

    • Attributes that define the properties of each object

    • Relative position of each object

  • Dimensions of the image are not defined, meaning scaling up does not result in a loss of quality

Bitmap vs vector

Feature

Bitmap Images

Vector Images

Made from

Pixels (tiny coloured squares)

Shapes and lines using maths (vectors)

File size

Larger (depends on resolution)

Smaller (uses formulas, not pixels)

Scalability

Loses quality when resized (pixelates)

Can be resized without losing quality

Best for

Photographs, detailed images

Logos, icons, text graphics

Editable with

Paint software (e.g. Photoshop, GIMP)

Drawing software (e.g. Illustrator, Inkscape)

Common file types

.jpg, .png, .bmp, .gif

.svg, .ai, .eps

  • When choosing to use a bitmap or vector based image, the following should be considered:

    • Does the image need to be resized?

    • Does the image need to be drawn to scale?

    • Does the image need to look real?

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注