Chapter 2 - Graphic Images
Chapter 2 - Graphic Images
Chapter 2 - Graphic Images
TECHNOLOGY
GRAPHICS AND
GRAPHICAL IMAGES
Graphical images obviously play a very
important role in multimedia pieces
Images may be photograph-like
bitmaps, vector-based drawings, or 3D
renderings
Tools for image management focus
on different kinds of images and
converting between formats peculiar to
different tools and platforms
BY: DR. ZEESHAN BHATTI
Bitmap Images
A bitmap is a matrix describing the individual dots
that are the smallest elements (pixels) of resolution on
a computer screen or printer or we can say a bitmap
image is an array of logical pixels.
monochrome just requires one bit per pixel,
representing black or white
8 bits per pixel allows 256 distinct colors, 16 bits per
pixel represents 32K distinct colors, 24 bits per pixel
allows millions of colors
BITMAP IMAGES
VECTOR IMAGES
A vector-drawn image is created from geometric
objects such as lines, rectangles, ovals, polygons using
mathematical formulas
Mathematical description of lines, curves and shapes
Requires computation to determine logical pixels
Compact, scalable, resolution independent and easy to edit
Based on co-ordinates and algorithms
Description is infinitely thin
Computation chooses logical pixels
Anti-aliasing to fix jaggies
Basic blocks
Squares, polygons, ellipses, lines, bzier curves
Easy to manipulate
Scale, skew, rotate
BY: DR. ZEESHAN BHATTI
VECTOR IMAGES
Graphic artists designing for print media use vectordrawn objects because they put rectangles and Bezier
curves on paper without jaggies, exploiting high
resolution printers
Macromedia Freehand, Corel Draw & Adobe Illustrator
are vector-drawing applications
Macromedia Flash puts vector-drawing on the Web with a plug-in
10
RASTERIZING
Converting between bitmaps and vectordrawn images:
Bitmap image editors convert vector-based
drawings to bitmaps by rasterizing
(Photoshop does this automatically)
11
GRAPHIC/IMAGE DATA
This section introduces some of the most common graphics
and image file formats. Some of them are restricted to
particular hardware/operating system platforms, others are
cross-platform independent formats.
While not all formats are cross-platform, there are
conversion applications that will recognize and translate
formats from other systems.
12
RESOLUTION
Two terms
DPI and PPI
Screen resolution
Fixed resolution (nearly)
PAL, NTSC, VGA, SVGA
72dpi, 96dpi
13
IMAGE RESOLUTION:
Image resolution refers to the number of
pixels per inch area of an image.
Higher the resolution, means higher the
number of pixels in that image hence better
the quality but also with increase in file size.
Lower the resolution means less amount of
pixels in an image and hence having poor
quality with less file size.
14
ASPECT RATIO
Aspect Ratio means the ratio of files Width to its
Height. For example
640 x 480
1024 x 768
or
800 x 600
or
15
GRAPHIC/IMAGE DATA
STRUCTURES
A digital image consists of many picture elements, termed
pixels. The number of pixels that compose a monitor image
determine the quality of the image (resolution). Higher
resolution always yields better quality. A bit-map
representation stores the graphic/image data in the same
manner that the computer monitor contents are stored in
video memory
1.Monochrome/ 1-Bit Images
2.8-bit Gray-scale Images
3.8-bit Colour Images
4.24-bit Colour Images
5.32-bit Colour Images
BY: DR. ZEESHAN BHATTI
16
17
MONOCHROME/ 1-BIT
IMAGES
An example of 1-bit monochrome image is illustrated in
Fig. 3.4 where:
Image consists of Pixels or Pel (Picture Element).
A 1-bit image consists of on and off bits only and thus
is the simplest type of image.
Each pixel is stored as a single bit (0 or 1), or we can
say that each pixel occupies exactly 1- Bit in memory.
Hence it is also referred to as a binary image.
Monochrome 1-bit images can be satisfactory for
pictures containg onlysimple graphics and text.
BY: DR. ZEESHAN BHATTI
18
19
8-BIT GRAY-SCALE
IMAGES
An
example gray-scale image is illustrated in Fig. 3.5
where:
20
21
22
COLOR LOOKUP
TABLE(LUTS OR CLUTS)
ZEESHAN BHATTI
23
ExampleBY:
ofDR.
8-Bit
Colour Image
24
COLOR-PICKER
A Color-picker consists of an array of fairly large
blocks of color (or a semi-continuous range of
colors) such that a mouse-click will select the color
indicated.
In reality, a color-picker displays the palette colors
associated with index values from 0 to 255.
Fig. 3.9 displays the concept of a color-picker: if the user
selects the color block with index value 2, then the color
meant is cyan, with RGB values (0; 255; 255).
25
26
27
28
29
THANKYOU
Q&A
For My Slides and Handouts
http://zeeshanacademy.blogspot.com/
https://www.facebook.com/drzeeshanacademy
30