JPEG or PNG are the most widely used formats for images on websites. However, this is where a vector graphic image type can come in handy as it’s not pixel-based and won’t lose any quality once compressed.