Why can’t JPEGS be transparent?

430 views

Why can’t JPEGS be transparent?

In: 1537

19 Answers

Anonymous 0 Comments

Each pixel in a JPG image has three data points.

RGB (Red, Green, Blue)

Each pixel in a PNG image has four data points
aRGB (Alpha, Red, Green Blue)

Each of those datapoints is called a channel, each channel can be set by a value of 0-255. Those values are then used to turn the pixel the correct color and or transparency. For instance…

R – 0
G – 255
B – 0

Would be full green on a JPEG

A – 175
R – 0
G – 255
B – 0

The above would be half way transparent and the color green.

You are viewing 1 out of 19 answers, click here to view all answers.