Home Start Back Next End
  
8
While Raster
graphics is a
high quality and complex
images,
Vector
graphics is
the opposite type of
image. Vector
graphics is
simple
image created
using
mathematical
equations. Vector
graphics image
are
usually
consist
of
vector
points
and
strokes
generated by
equations. For
example, the simple equation
like
y= 4x
+
5
can produce a
straight
lines.
By
combining
lots
of
straight
lines,
we
can
produce
an
image.
In
some
programming languages, library
of
the
language
already
provides
some
functions
to
create graphics. Lines can already produced by inputting commands like:
Line(x1, y1, x2, y2)
The
symbol
x1
and
y1
represents the
first
vector of
the
line and
the
symbol
x2
and
y2
represents the
second
vector
of
the
line.
By
inputting
the
command, lines
be
can
automatically produced. By
using
software
like
Adobe
Illustrator and
Adobe
Flash,
we
will
not
need to
worry about
inputting commands to produce
images anymore.
Tools
for
creating drawings, shapes and lines are already provided in the software.
Despite
of
the
quality,
Vector
graphics images
have
smaller
size
of
file
than
Raster
graphics images. Since
the
image
is
vector based, the
memory does
not store
the
images
in
the
memory since Vector
graphics are calculated during
the
runtime or
when
the
program
runs. 
The
computer
only
stores  the
list
of  coordinates
used  when  we
produce
the
images
to
the
memory.
When
we
run
the
program,
computer
will
load
the
list
of
coordinates from
the
memory,
and
will
do
the
necessary calculation; then
the
computer reproduce the image by redrawing it according the calculation.
Word to PDF Converter | Word to HTML Converter