K02992 - 20180921174405 - Chapter 1-Raster VS VECTOR

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 19

RASTER VS VECTOR

PREPARED BY: MISS WAN NURLISA BINTI WAN AHMAD


RASTER (BITMAP) GRAPHICS
◦ Made up of small dots called pixels, each pixel stores information about colour.
◦ Can be found mainly in photos
◦ Can display grid using complex models(photo)
◦ Conversion between raster formats is easy
◦ Disadvantage is the large amount of data and information loss in various
adjustments (zoom, rotate, etc).
Resolution of Raster Images
◦ The resolution of a raster or scanned image is expressed in terms of dots per inch =
dpi. Typical laser printers print at 300-600 dpi. There are printers that are capable of
producing smoother and cleaner output because they have higher dpi ratings.
◦ The output quality of a printing device is dependent upon the resolution of a bitmap
or scan. If you take a 300 dpi bitmap and size it up in Photoshop you will see that the
image becomes pixilated.
The quality of a print produced from a raster image is dependent upon three
things:
1. One the resolution of the raster image or dpi.
2. The capabilities of the printing technology.
3. Whether or not the image has been scaled up
Color in Raster Images
1. When scanning a raster image a large number of colors will be required to render a raster image
reproduction of the original source artwork accurately.
2. To get around this difficulty scanners use a process called dithering to approximate colors that don’t occur
in the current color palette. Dithering produces a distinct dotted pattern that approximates the original
color in an image. It will then deteriorate the quality of the scanned raster image.
3. This is where editing and manipulating raster images becomes the most complicated. In order to change a
color in the raster image you must isolate a specific color or a specific range ofcolors and tell the software
to change the color.
File Sizes for Raster Images
◦ When creating and scanning raster images, file size can become a real issue.
◦ In order to accurately reproduce a raster image file the graphics software must
keep track of a large amount of information, including the exact location and
color of each pixel and the collection of pixels.
File Formats for Raster Images
Common raster image formats include the following:

1. BMP (Windows Bitmap)


2. PCX (Paintbrush)
3. TIFF (Tag Interleave Format)
4. JPEG (Joint Photographics Expert Group)
5. GIF (Graphics Interchange Format)
6. PNG (Portable Network Graphic)
7. PSD (Adobe Photoshop)
8. CPT (Corel PhotoPAINT)
VECTOR GRAPHICS
◦ Consists of individual objects, which are rectangle, ellipse, line, curve, outline, fill
and text
◦ The result is a file that compared with raster graphics is much smaller (in terms
of data volume).
◦ Possibility of unlimited modifications (including resizing) without loss of quality
◦ Not suitable for describing complex patterns- such as photos.
What is Vector Art?
◦ A vector image is a collection of connected lines and curves that produce objects. When creating
a vector image in a vector illustration program, node or drawing points are inserted which lines
and curves connect those together. This is the same principle as connect the dots.

◦ Each node, line and curve is defined in the drawing by the graphics software by a mathematical
description. Every aspect of a vector object is defined by math included node position, node
location, line length and on down the line. Text objects are created by connecting nodes, lines
and curves. Every letter in a font starts out as a vector object.
Resolution of Vector Images
 Vector images are defined by math, not pixels. They can be scaled up or down without any
loss of quality. When an illustration (drawing) program sizes a vector image up or down, it
simply multiplies the mathematical description of the object by a scaling factor.
– For example, a 1" square object would need to be multiplied by a fact
or of 2 in order to double in size.

Color in Vector Images


• Since vector images are composed of objects not pixels, you can change the color of
individual objects without worrying about individual pixels.
• Coloring vector objects is similar to coloring with crayons in a coloring book. A drawing
program will enable a user to click inside an object and define its color. A drawing program
will also enable a user to define the color and width of lines. Coloring vector images is
much easier than coloring bitmaps.
File Sizes for Vector Images
1. Vector images do not need to keep track of each individual pixel in an image, only mathematical
descriptions. For this reason vector files are very small in file size.
2. Vector files are composed of long mathematical descriptions dictating every aspect of the graphic. A 2-
inch by 4-inch vector based logo will be the same files size as a 2-foot by 4-foot logo. The file size is the
same because the only difference in file is one number defining the size of the file.
3. A raster image file would need to keep track of a whole bunch of additional pixels as the file increases in
size. Most vector-based logos are going to be under 100k (.10 megabytes). For this reason, vector files are
ideally suited for transfer over the Internet.
File Formats for Vector Images
Common vector formats include the following:

1. EPS (Encapsulated PostScript)


2. WMF (Windows Metafile)
3. AI (Adobe Illustrator)
4. CDR (CorelDraw)
5. DXF (AutoCAD)
6. SVG (Scalable Vector Graphics)
There are two main type of images files:
RASTER VECTOR
Raster images are created with pixel-based programs Vector graphics are created with vector software and
or captured with a camera or scanner. are common for images that will be applied onto a
physical product. Also used in CAD, engineering, and
3D graphics.

• When using a raster program you paint an image When using a vector program you draw the outline of
and it's similar to dipping a brush in paint and shapes: and it's similar to creating an image with tiles
painting. You can blend colors to soften the of all different shapes and sizes. e.g. an eye shape, a
transition from one color to another. nose shape, a lip shape. These shapes called objects
• They are more common in general such as jpg, gif, display one single color each.
png and are widely used on the web
Raster images are made of pixels. A pixel is a single Vector images are mathematical calculations from one
point or the smallest single element in a display point to another that form lines
device. If you zoom in to a raster image you may start and shapes. If you zoom into a vector graphic it will
to see a lot of little tiny squares. always look the same.
1. Raster image has specific number of pixels. 1. When you enlarge a vector graphics, the math
2. When you enlarge the image file without formulas stay the same, rendering the same
changing the number of pixels, the image will visual graphic no matter the size.
look blurry. 2. Vector graphics can be scaled to any size
3. When you enlarge the file by adding more without losing quality.
pixels, the pixels are added randomly
throught the image, rarely producing good
results.
Comparison between Raster & Vector
Raster (Bitmap) Vector

Pixel-based. Mathematical calculations shapes.

Raster programs best for editing photos and Vector programs best for creating logos,
creating continuous tone images with soft color drawings and illustrations, technical drawings.
blends. For images that will be applied to physical
products.

Do not scale up optimally - Image must be Can be scaled to any size without losing
created/scanned at the desired usage size or quality.
larger.
Continue…..
It is more difficult to print raster images using a Resolution-independent: Can be printed at any
limited amount of spot colors. size/resolution

Large dimensions & detailed A large dimension vector graphic maintains a


equal large file size. small file size.

Some processes cannot use Number of colors can be easily increased or


raster formats. reduced to adjust printing budget

Vector art can be used for many process and


easily rasterized to be used for all processes.
Depending on the complexity of the image, Can be easily converted to raster.
conversion to vector may be time consuming.

Raster images are the most common image format, It is not the best format for continuous tone images
including: jpg, gif, png, tif, bmp, psd, eps and pdfs with blends of color or to edit photographs.
originating from raster programs.

Common raster programs: photo editing / paint Common vector graphic file format: ai, cdr, svg, and
programs such as Photoshop & Paint Shop, GIMP eps & pdfs originating from vector programs.
(free).

Common vector programs: drawing programs such as


Illustrator, CorelDraw, Inkscape (free).
DPI vs PPI
DPI - Dots per Inch
This is the amount of ink dots the printer will put on each pixel of your image. The DPI is set by
the actual printer device and it is not something in the image for the graphic designer to
manipulate.

PPI - Pixels per Inch


Digital raster images are measured in pixels, or picture elements. How many pixels per inch is
determined by the device you create the digital image with: camera, scanner, or graphics software
and can be modified with a photo/paint editing software.

You might also like