0% found this document useful (0 votes)
3 views5 pages

CG - Unit I - Images

The document provides an overview of images, detailing their types (raster and vector), characteristics, and format standards such as BMP, PNG, JPG, and SVG. It discusses the structure and encoding of raster images, including color depth and precision, as well as the potential applications and conversions between raster and vector graphics. Additionally, it poses questions regarding the usage of different image formats in game development and the necessity of various color encodings.

Uploaded by

vgg67916
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

CG - Unit I - Images

The document provides an overview of images, detailing their types (raster and vector), characteristics, and format standards such as BMP, PNG, JPG, and SVG. It discusses the structure and encoding of raster images, including color depth and precision, as well as the potential applications and conversions between raster and vector graphics. Additionally, it poses questions regarding the usage of different image formats in game development and the necessity of various color encodings.

Uploaded by

vgg67916
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Unit I - Images

What is an image?
Visual representation of information encoded in a certain way.

Two main types / how we represent the information:


● Dot Matrix / Raster → Array of pixels
● Vector → Array of geometric shapes

Characteristics of an image:
1. Type
2. Format
3. Encoding
4. Size
5. Color space
6. Color model

Raster images are the most commonly used in general.

Challenge:

How many MBs would take in memory a 4K (3840 x 2160 pixels) raster
image with a 8R8G8B8A format? (Each channel is 8 bits).

How many MBs would take a 2K raster image with 11R11G10B?


Unit I - Images

Format standards:
● BMP (No compression, RAW)
● PNG (Lossless compression)
● JPG (Lossy compression)

● SVG (Vector graphics standard)


● …

Do you know of other formats? What are they used for?

Can you think on applications for both Vector and Raster graphics?
Unit I - Images

Which Image format do you think is most used in game


development? Why?
Unit I - Images
Raster Images

● Dot Matrix structure → 1 pixel = 1 color (*)


● Different encodings
○ RGB
○ RGBA
○ R11G11B10
○ R8G8B8A8
○ R8
○ …
● Size: Width x Height
● Color “Depth” → Color “Precision”
○ Refers to the number of bits used to represent a color
channel
● R G B A are color channels.

Why do you think we need different color encodings?

Do you think in compressed image formats such as PNG, the dot


matrix contains 1 color per pixel?
Unit I - Images
Vector Images

● Structure?
● Encoding?
● Size?
● Formats? Lossless/Lossy?

Vector → Raster
Raster → Vector

When are Vector images useful? Can we convert from Raster to vector
and vice-versa?

Are there Vector graphics games?

You might also like