Difference between JPEG and SVG

File SystemSVGWeb Development

JPEG and SVG both are a type of image format to store images. JPEG is a raster image format and uses lossy compression algorithm and image may lost some of its data whereas SVG is a text based image format and uses mathematical structures to represent a image and is highly scalable. JPEG images are used in photography applications and SVG is used when high resolution images are required.

Following are the important differences between JPEG and SVG.

1Stands forJPEG stands for Joint Photographic Experts Group.SVG stands for Scalable Vector Graphics.
2Image typeJPEG is a raster image format.SVG is a vector image format.
3Image QualityJPEG image quality decreases on zooming.SVG image quality remains same on zooming.
4Image sizeJPEG image is generally smaller than PNG image of same image.SVG image is generally larger than JPEG image of same image.
5EditableJPEG images are not editable.SVG images are text based and are easy to edit.
6ExtensionsJPEG images use .jpeg or .jpg extension.SVG images use .svg extension.
7UsageJPEG images are used in photography.SVG images are generally used in high pixel density image applications.
Published on 28-Nov-2019 11:08:47