Difference between GIF and PNG

File SystemComputersVFX & Animation

GIF and PNG both are a type of image format to store images. GIF and PNG both are pixel based image formats. Both uses lossless compression algorithms and supports transparency. GIF images supports animation as well.

Following are the important differences between GIF and PNG.

1Stands forGIF stands for Graphical Interchange Format.PNG stands for Portable Network Graphics.
2AnimationGIF images support animation.PNG images do not support animation.
3MIME TypeGIF images are represented as image/gif.PNG images are represented as image/png.
4File SizeGIF file is larger than than png image for same image.PNG images is smaller in size.
5TransparencyOne bit transparency is supported.PNG images supports a high level of transparency.
6ExtensionsGIF images use .gif extension.PNG images use .png extension.
7UsageGIF images are used when animation is needed.PNG images are generally used in image creation.
Published on 28-Nov-2019 10:31:20