STIG AS Level Raster vs Vector
star
star
star
star
star
Last updated 6 months ago
4 questions
Vector graphics are digital images created using mathematical formulas and geometric primitives.
Raster images WHICH ARE MADE UP OF PIXELS. Since raster images are pixel based, they are resolution-dependent.
Since vector graphics are not made up of pixels can be scaled without losing quality.
1
So what is the negative in using raster graphics?
So what is the negative in using raster graphics?
Drawing Objects
- Drawing objects are the basic building blocks of a vector graphic.
- Common drawing objects include lines, curves, shapes (rectangles, ellipses, polygons), and text.
- Each drawing object is defined by a set of properties that determine its appearance and position.
Properties - like variables
- Properties are attributes that define the characteristics of a drawing object.
- Some common properties include:
Coordinates (x, y) for positioning the object
Fill color or pattern
Stroke color, width, and style (solid, dashed, dotted)
Opacity or transparency
Text properties (font, size, alignment)
- Properties are stored as key-value pairs associated with each drawing object.
Drawing List
- A drawing list, also known as a display list or a scene graph, is a data structure that stores the sequence of drawing objects and their properties.
- The drawing list represents the complete vector graphic image.
- When rendering the vector graphic, the drawing objects are processed in the order they appear in the drawing list.
- Drawing lists allow for efficient rendering and manipulation of vector graphics.
Example of a simple drawing list in pseudocode:
Copydrawing_list = [ { type: "rectangle", x: 100, y: 100, width: 200, height: 150, fill_color: "blue", stroke_color: "black", stroke_width: 2 }, { type: "ellipse", cx: 300, cy: 200, rx: 70, ry: 100, fill_color: "green", opacity: 0.7 }, { type: "text", x: 200, y: 350, content: "Hello, Vector Graphics!", font: "Arial", font_size: 24, fill_color: "red" } ]
1
Logo Design You are tasked with creating a logo for a new company. The logo should be scalable for use on business cards, websites, and large billboards. Which graphic format would you choose, raster or vector? Explain your choice.
Logo Design You are tasked with creating a logo for a new company. The logo should be scalable for use on business cards, websites, and large billboards. Which graphic format would you choose, raster or vector? Explain your choice.
1
Photographic Image Editing You have a high-resolution photograph that needs to be retouched and color-corrected. Which graphic format would be more suitable for this task, raster or vector? Provide reasons for your selection.
Photographic Image Editing You have a high-resolution photograph that needs to be retouched and color-corrected. Which graphic format would be more suitable for this task, raster or vector? Provide reasons for your selection.
1
T-Shirt Design You have been asked to create a design for a t-shirt that will be printed in multiple sizes and colors. Which graphic format would you choose to ensure the best print quality, raster or vector? Provide reasons for your decision.
T-Shirt Design You have been asked to create a design for a t-shirt that will be printed in multiple sizes and colors. Which graphic format would you choose to ensure the best print quality, raster or vector? Provide reasons for your decision.




