SVG stands for Scalable Vector Graphics. SVG files use .svg extension. It is a vector image composed of paths.
PNG stands for Portable Network Graphics. For PNG images extension used is .png. It uses lossless compression algorithm. It is a raster image composed of pixels.
Difference between SVG and PNG:
|It stands for Scalable Vector Graphics.||It stands for Portable Network Graphics.|
|It is a vector image.||It is a raster image.|
|It’s quality doesn’t decrease on zooming.||Quality decreases on zooming.|
|It is made up of paths.||It is made up of fixed no of pixels.|
|SVG files are editable.||PNG files are not editable.||Extensions used is .svg.||Extension used is .png.|
|Mostly used for devices with high pixel density.||It is mostly used in image creation.|
- Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
- Difference between File and Folder
- Difference between Header file and Library
- Difference between YAML(.yml) and .properties file in Java SpringBoot
- Difference between FAT32, exFAT, and NTFS File System
- Difference between USB 2.0 and USB 3.0
- Difference between CPU and GPU
- Web 1.0, Web 2.0 and Web 3.0 with their difference
- What is the difference between GUI and CUI?
- Difference between ELT and ETL
- Difference between Tor and VPN
- Difference between CRT and LCD
- Difference between C and C++
- Difference between ++*p, *p++ and *++p
- Difference between 1G and 2G
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. 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.