View Jpg Vs Png File Size Images. A jpg does, however, allow you to create smaller file size than you could with a png. A jpg should be used in any situation when it's important to have a small file.
Shouldnt jpeg being a lossy compression be technically smaller in size?
Even if the picture is a solid color should jpg encodng be able to compress it. Jpg is the file extension for jpeg files (joint photographic experts group, a committee of iso and itu). Luckily for you, no matter whether. If the size of your file is not a pain point, and you're working with a more complex image, png is probably the best choice.