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.
|1||Stands for||JPEG stands for Joint Photographic Experts Group.||SVG stands for Scalable Vector Graphics.|
|2||Image type||JPEG is a raster image format.||SVG is a vector image format.|
|3||Image Quality||JPEG image quality decreases on zooming.||SVG image quality remains same on zooming.|
|4||Image size||JPEG image is generally smaller than PNG image of same image.||SVG image is generally larger than JPEG image of same image.|
|5||Editable||JPEG images are not editable.||SVG images are text based and are easy to edit.|
|6||Extensions||JPEG images use .jpeg or .jpg extension.||SVG images use .svg extension.|
|7||Usage||JPEG images are used in photography.||SVG images are generally used in high pixel density image applications.|