SVG stands for Scalable Vector Graphics. SVG files use .svg extension. It is a vector image composed of paths. SVG files are editable and mostly used for the devices with high pixel density.
JPEG stands for Joint Photographic Experts Group. For JPEG images extension used are .jpg and .jpeg. It uses lossy compression algorithm. It is a raster image composed of pixels. JPEG image quality decreases on zooming the image.
Difference between SVG and JPEG:
|1.||It stands for Scalable Vector Graphics.||It stands for Joint Photographic Experts Group.|
|2.||It is a vector image.||It is a raster image.|
|3.||It’s quality doesn’t decrease on zooming.||Image quality decreases on zooming.|
|4.||It is made up of paths.||It is made up of fixed no of pixels.|
|5.||SVG files are editable.||JPEG files are not editable.||6.||Extensions used is .svg.||Extension used are .jpg and .jpeg.|
|7.||Mostly used for devices with high pixel density.||It is mostly used in photography.|
- Difference between JPEG and PNG
- Difference between JPEG and GIF
- Difference between LAN, MAN and WAN
- Difference between OOP and POP
- Difference between 4G and 5G
- Difference between USB 2.0 and USB 3.0
- Difference between Tor and VPN
- Difference between MP4 and MP3
- Difference between LAN and MAN
- Difference between JSP and ASP
- What is the difference between GUI and CUI?
- Difference between RPC and RMI
- Difference between CD and DVD
- Difference between PNG and GIF
- Difference between H.323 and SIP
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.