JPG

PNG

JPG/JPEG stands for Joint Photographic Experts Group. PNG stands for Portable Network Graphics.
JPG is the standard used by photographers to compress large photographs to smaller by reducing the picture blocks or pixels. It acts same as Zip method that compresses the files.Most of the time it is required to store large images in a comparatively lesser space and surprisingly JPG is great in it. PNG is an alternative to GIF format and is used particularly for internet graphics as it is a better option in respect to view in the internet browsers. It follows the proprietary LZW compression algorithm. The compression in this case does not reduce the size and resolution to great extent
JPG format is used to send pictures in email or chatting apps. While compression, the quality of the image is lost by a large percentage. Hence the image might look blur when zoomed. Each time an image is saved in JPG format, it reduces the pixels and size of the image. Thus saving artwork or images with sharp edges, crisp lines or intensity should not be saved in JPG format PNG format does not affect the quality of the image while compression, thus the sharpness of the image remains the same even after it is zoomed. By saving the image several times also, the quality is not reduced keeping the image intact with respect to its original resolution. For this reason its use for internet graphics come into picture
Image size is smaller than PNG as compression reduces the resolution and size. So it is mostly recommended when the image quality is not considered Image size is larger than JPG, hence it is used by photographers to send it across internet where the resolution is the main focus rather than the image size
Transparency feature is not supported by JPG. As a result, it is not perfect for photo editing. One of the most important feature of PNG format is, it supports transparency. In this regard it supports different levels of transparency. Thus it blends the background colors naturally with the graphics to give the image a flawless look
JPG is supported by almost all browsers and used widely all over the world PNG is not supported by some browsers as it the largest file type. So it has limitations when usage is taken into account
JPG supports 24-bit color RGB PNG supports both 8-bit color as well as 24-bit color RGB
JPG to some extent supports animation by introducing Motion JPEG format. With this short animations along with sound can be created. Thus it can be used for small video transfers or animations for few gaming consoles PNG is not ideal for animation. It might support medical imaging but not recommended in internet worldwide. Thus animation has nothing to do much with PNG formats
When we need to attach an image to blog or any website JPG is the best one among all the file types available as in this case images can be uploaded easily and does not require to enable detailed viewing of the image When we need to attach any icon or any symbol where sharpness and high contrast is mandatory for the icon to be highlighted, it is better to go with PNG format
The image saved in JPG format must be saved with ‘.jpg’ or ‘.jpeg’ extension. For example image.jpg.Actually, the original file extension was ‘.jpeg’ but in Windows, the files needed to be given a three lettered extension. Hence, it was cut short to ‘.jpg’. The image saved in PNG format must be saved with ‘.png’ extension. For example image.png