Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which graphic file formats are supported by browsers?

JPEG, GIF and PNG can be displayed with the img tag and will work in all browsers, the object element can be use for displaying images specifying its MIME type, but what other graphic formats are supported by img or object tag in most browsers without installing plugins? (TIF, SVG, PCX, PICT, etc..)

like image 425
Flupkear Avatar asked Oct 08 '08 17:10

Flupkear


People also ask

What are the 4 graphics formats commonly used on the web?

The primary web file formats are gif (pronounced “jiff”), jpeg (“jay-peg”), and, to a much lesser extent, png (“ping”) files. All three common web graphic formats are so-called bitmap graphics, made up of a checkerboard grid of thousands of tiny colored square picture elements, or pixels.

Which image format is not supported by browsers?

The BPG image format is not supported in any modern browser, nor are there any known plans to support it.


1 Answers

There's an excellent chart on wikipedia that lists common image types and their support by browser.

The file types you listed (jpg, gif and png) seem to be the main formats supported by nearly every browser, albeit with certain caveats:

Internet Explorer supports PNG images but is unable to correctly display images with gamma correction or color correction. Versions of Internet Explorer prior to version 7 are unable to correctly display images with alpha channel (for transparency) without additional coding

like image 114
ConroyP Avatar answered Oct 11 '22 02:10

ConroyP