Jpeg or png where the image is more accurate?
On the Internet, you can save any image in PNG, JPEG / JPG, GIF and dozens of other file formats, the choice is yours.
Which formats to use for vector graphics, which for photos - which image formats provides the best quality?
GIF format is limited to 256 colors and supports lossless compression. This is a common image format for use on the Internet.
GIF is a good choice for drawings, text and graphics icons in small files.
PNG supports lossless compression, making it a common image format for use on the Internet.
PNG is a good choice for drawings, text and graphics icons in small files.
JPG format - lossy compressed file format. This makes it useful for storing photos in files smaller than BMP.
JPG is a common format for photos on the Internet, due to its compression capability.
To store drawings, text and graphics icons, it is better to use the above GIF or PNG formats, they are compressed without loss.
JPEG format is a format for photos and realistic images. PNGs are intended for line-up, heavy text images, and also in a group with several colors. GIFs will fail in this case.
Randall Munroe (XKCD) and Matthew Inman (Oatmeal) use PNG for their web comics, while Hugh MacLeod (GapingVoid) uses the JPEG format for their cartoons.