Images Flashcards

1
Q

What are the differences between vector and raster image types?

A

Vecorts use lines and curves

Raster use pixels. Also called bitmap images

To see the differences, if you zoom in you can see if it’s curved or not. Raster will look pixelated to mimic the curve

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the different image types used be the web?

A

1) JPEG - Joint Photographic Experts Group - standard format for most digital cameras

16-bit format - combines red, greens, blues to create millions of colors

They are also raster images

2) GIF - Graphics Interchange Format

Popular because of it’s ability to be animated

Raster image, but limited to only 256 colors

Can change transparency, used to be the go to for non square or rectangular images

3)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why is PNG powerful?

A

Portable Network Graphics

1) PNG-8 256 color and cannot render transparency
2) PNG 24 renders millions of colors and support transparency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is SVG?

A

Scalable Vector Graphics

1) Supported in all modern browsers

Vector graphics can scale up and down with screen sizes, not pixelated

Best suited for 2D shapes, icons, and illustrations

<image></image>

CAN apply inline and apply CSS and JS to it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is SVG based on?

A

It’s based on XML

HTML uses predefined tags which the browser interprets

XML uses custom tags and represents structured information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly