, Digital Graphics
What is a Digital Graphic?
Images or pictures that are created or edited using computer graphic software are
known as Digital Graphics.
Elements of a Digital Graphic
• Pixel
• Resolution
• Size
• Colour
1. Pixel
A pixel is the smallest basic unit of a digital graphic. These are arranged in rows
and columns, joining together to form a rectangular array. Images formed this way
are also known as Bitmap images.
Important: When you enlarge an image with a low number of pixels, its quality
decreases (the image becomes blurry or pixelated).
2. Colour and Bit Depth
The amount of colour in a graphic is determined by the Bits Per Pixel (bpp). The
higher the bit amount, the higher the overall quality of the image.
Exam Calculation:
The formula to find the number of colours in a pixel is:
2bpp
• Example: If a pixel has 4 bits (4 bpp), the number of colours = 24 = 4 ,22 = 16
colours.
3. Graphic Resolution
The physical dimensions of a digital graphic are measured in pixels. There are two
main measurements used to determine the quality of a graphic:
• PPI (Pixels Per Inch): The number of pixels contained within one square inch.
3|P remi um Ic t Cl as s - Ict Wi t h Kp
, • DPI (Dots Per Inch): The number of printed dots contained within one square inch.
4. Colour Models
Mandatory to study!
Questions asking you to differentiate between these models frequently appear in the
O/L Part II paper. There are 2 main types of colour models.
ලක්ෂණය RGB ආදේශකය (RGB CMYK ආදේශකය (CMYK
Model) Model)
භාවිතා කරන්දන් රූපවාහිනී හ ෝ පරිගණක තිර කඩදාසි මත මුද්රණය කිරීමට
කුමකටද? මත රූප හපන්වීමට (තිර සඳ ා). (Printing සඳ ා).
මූලික වර්ණ රතු (Red), හකාළ (Green), ලා නිල් (Cyan), දම්
දමානවාද? නිල් (Blue) (Magenta), ක (Yellow),
කළු (Black)
ක්රියාකාරීත්වය වර්ණවත් ආහලෝක කිරණ තීන්වත (Coloured inks)
(Coloured lights) ආධාරහයන්ව ආධාරහයන්ව ක්රියා කරයි.
ක්රියා කරයි.
Triplet Colours: The RGB format creates colours by mixing red, green, and blue
values on a scale from 0 to 255. (e.g., RGB(245, 102, 36))
5. Graphic Compression
Images with large file sizes (capacities) can cause difficulties when storing them or
sending them over the internet. Reducing the file size of these images is called
Compression.
There are 2 main compression methods. Make sure you remember the differences
and the file format examples for both!
A. Lossy Compression
• The file size can be reduced to a very low level.
• However, the image quality is compromised (the original state is degraded or
destroyed).
• When re-opened (decompressed), the exact original quality cannot be
restored.
• File Formats: JPEG, TIFF, BMP (Note: Memorize these exactly as given in
your school textbook).
4|P remi um Ic t Cl as s - Ict Wi t h Kp