A png (Portable Network Graphics) file is a raster or bitmap image file format. A raster image is made up of a fixed number of pixels [or building blocks] that form a complete image. The image cannot be enlarged without distortion occurring. (When you zoom in on a raster image, the pixels become visibly grainy.) Common raster image files include png , jpg and gif formats. A svg (Scalable Vector Graphics) file is a vector image file format. A vector image uses geometric forms such as points, lines, curves and shapes (polygons) to represent different parts of the image as discrete objects. These forms can be individually edited. A vector image remains crisp and clear at any resolution or size.
PNGs come as they are. You can paste or place in any program. You can’t really change the color or shape, and if you try to make them a lot bigger, they will get pixelated. SVGs are vectors, meaning they’re completely customizable. Make them as big or as small as you want, change the colors, or even change the shapes themselves.
Portable Network Graphics (PNGs) are high-quality file formats. The biggest advantage that they offer for online usage is their transparent backgrounds. This makes them ideal for usage on websites where a transparent background is required (as long as they aren’t too large).Another key advantage of the PNG is that it’s a lossless quality file. This means that it won’t get grainy or blurred when uploaded or utilized (like pixelated file types). SVGs are amazing file types for website design. You should use SVG for your graphic/iconic elements on your website. Being a vector format, these will scale infinitely without pixelation, which comes in handy for cross-device quality control. And also, they’re extremely lightweight in file size, which will make them load faster. I’m talking the low kilobyte range. You can also leverage SVGs for advanced functionality. Experienced website designers can leverage them to create incredible works.
A png (Portable Network Graphics) file is a raster or bitmap image file format. A svg (Scalable Vector Graphics) file is a vector image file format.
Use PNG for:
Web graphics that require transparency. Color heavy and complex photographs and graphics. Images that require re-editing and re-exporting.
Use SVG for:
Logos and icon with strong, geometric, vector-friendly design. Graphics that may need to be displayed in multiple sizes and screens. Graphics that respond to their device. Graphics that need to be edied, updated and redeployed.