Difference between SVG and PNG

File SystemWeb DevelopmentComputers

SVG and PNG both are a type of image format to store images. SVG is a vector based image format where an image is represented by set of mathematical figures and PNG is a binary image format and it uses lossless compression algorithm to represent image as pixels.

Following are the important differences between SVG and PNG.

Sr. No.KeySVGPNG
1Stands forSVG stands for Scalable Vector Graphics.PNG stands for Portable Network Graphics.
2Image typeSVG image is vector based.PNG image is pixel based.
3On ZoomSVG image quality remains same while zooming.PNG image quality degrades while zooming.
4BasisSVG images is made up of paths and shapes.PNG images is made up of pixels.
5EditableSVG images are editable.PNG images are not editable.
6ExtensionsSVG images use .svg extension.PNG images use .png extension.
7UsageSVG images are used in devices using high resolution images.PNG images are generally used in image creation.
raja
Published on 28-Nov-2019 14:57:10
Advertisements