XHTML 1.1 Graphics file formats test served as application/xhtml+xml.

Navigation

XHTML 1.1 Media Type "application/xhtml+xml"

Ein Bild des Autors The selection forgoes animated GIF, because animated GIF is displayed from currently most commonly used Web browsers. For all Graphics file formats a small explanation with type, colors and size make it possible to compare the graphics directly. The test with PNG's alpha channel is a supplement for the transparency test between GIF- and PNG-graphics.

GIF, PNG, JPEG and JPEG-2000 graphics file format by comparison

At present not all browsers support the JPEG-2000 Graphics file formats. On several os platforms it is supported by libraries from the used Desktop/operating system or by browser plugins.

gif image
GIF image,
100x75 Pixel, 256 Colors, 7.0KB
png image
PNG image,
100x75 Pixel, 256 Colors, 6.3KB
jpeg image
JPEG image,
100x75 Pixel, 256 Colors, 4.7KB
jpeg-2000 image
JPEG-2000 image,
100x75 Pixel, 256 Colors, 4.6KB

GIF- and PNG-Transparency test

Some browsers will not display transparency images, other display the transparency part with white or grey background. Both sample images have 256 colors.

Transparency GIF image
Transparency GIF,
100x75 Pixel, 256 Colors, 2.2KB
Transparency PNG image
Transparency PNG,
100x75 Pixel, 256 Colors, 2.0KB

PNG 32Bit and Alpha Channel Transparency

Some browsers will not display transparency images, other display the transparency part with white or grey background.

Hint: PNG Transparency

Some browsers have problems with JPEG images with more than 256 colors and alpha channel.

Transparency PNG image
Transparency PNG,
100x75 Pixel, 32Bit, 4.0KB
Transparency PNG Graphic with Alpha Channel
Alpha Channel PNG
variable level of transparency
100x75 Pixel, 32 Bit, 7.6KB
Transparency PNG Graphic with Alpha Channel
Alpha Channel PNG
variable level of transparency
100x75 Pixel, 32 Bit, 5.5KB

The test for SVG support can be found in the category XML, because SVG is a XML-based script language. The XHTML 1.1, XML 1.0 and XSLT 1.0 version of this page is also available in the category XML.

[back to top]

 

[back to navigation]

[back to top]