|
|
(computer generated) CG
|
natural source
|
|
|
cartoon-like
|
photographic
|
|
|
fewer colours (256?)
|
Many colours (24-bit)
|
|
|
largish patches of identical colour
|
very few regions of identical colour
|
|
|
easier to compress
|
achieving high compression is trickier
|
|
uses
|
cartoons; icons; backgrounds
|
photographs
|
![]() |
|
|
Raster
|
Vector
|
|
typical application programs used to create
|
paint programs
|
draw programs
|
|
representation
|
pixel values
|
line segments
|
|
scalability
|
awkward
|
easy to scale without loss of information
|
|
device dependence
|
moderate
|
high
|
|
processing speed (for display)
|
fast
|
slow(ish) - must be computed
|
|
effects such as smoothing; distortion; sharpening; edgeing; etc.
|
straight-forward
|
challenging
|
|
"tweening" for animation
|
pains-taking
|
straight-forward
|
|
uses:
|
scientific data; pictures; www display; animation
|
mapping; CAD-CAM; architectural drawing; some animation
|
|
|
|
| Drawing Vs. Painting Although more painting tools are added to drawing programs and more drawing tools are added to paint programs, their inherent structure is different. Drawing programs (vector graphics) allow for the creation of objects that can be manipulated independently. Paint programs (bitmapped graphics) provide a canvas that can be covered with electronic paint. |
|
- goals & needs are different
- some overlap |
Scientific
|
Graphics
|
|
Most Important Aspect
|
numbers (values rather than appearance)
|
pictures
|
|
Compression
|
Lossless ONLY (The astronomers wouldn't like it much if we lost stars)
|
Lossy might be acceptable
|