JPGPNGGIFSVG
File Extension.jpg.png.gif.svg/.svgz
Short forJoint Photographic Experts GroupPortable Network GraphicsGraphics Interchange FormatScalable Vector Graphics
Color Range16.7 Million colors, 24 bit RGB and CMYKDirect Color (thousands of colors). 8 Bit, 24 Bit RGB or 32 Bit RGBA256 Colors, 8 bit16 Million colors, supports sRGB gradients
Transparency Not supportedAlpha Channel transparrency enables blending, shading and opacity gradients.One color is set as transparent, no shading or grading of transparencyMulti-level transparency and opacity supported
ProsWith jpeg you can compress complex graphics to a manageable file size“Lossless” compression means no pixilation and crisp edges, combined with userful transparency featuresTypically very small file sizes. Animation is supported“Lossless” scalable vectors, for any device and printing, also compresses well
ConsCons “Lossy” compression means poorer quality with reduced file size and with multiple edits and savers. Typography often suffers blurred edgesTypically larger file sizes than jpegs. (Around 5 times larger than jpegs on mot photos)Doesn’t handle complex graphicy od depth of colorNot supported on a few older browser versions. Saving photos not really possible.
Best for Photos, complex graphics, color tonesScreenshots, Typography and maintaining image qualitySmall vectors, logos, crisp edged graphics, novelty drawings and simple animations or transitionsScalable backgrounds, text, vector images