← Back

Display simple bitmap formats using the <img> tag

Five formats that predate modern compression and are still met daily: ZSoft PCX, Truevision TGA, SGI/RGB, the Netpbm family (PBM/PGM/PPM) and the X11 bitmap. Each is a header plus raw samples or a byte-oriented run-length scheme, so this filter carries its own decoders rather than a third-party library. Decoded here with simpleimg_1

PCX picture TGA picture SGI picture PPM picture XBM picture

Code snippet

<img is="universal-img_1" src="testcard.pcx" using="solver_minimal_1"
     with="simpleimg_1"> </img>
<img is="universal-img_1" src="testcard.tga" using="solver_minimal_1"
     with="simpleimg_1"> </img>
<img is="universal-img_1" src="testcard.sgi" using="solver_minimal_1"
     with="simpleimg_1"> </img>
<img is="universal-img_1" src="testcard.ppm" using="solver_minimal_1"
     with="simpleimg_1"> </img>
<img is="universal-img_1" src="testcard.xbm" using="solver_minimal_1"
     with="simpleimg_1"> </img>

Specifications :

The specifications of the test sequence are :

Format PCX 24-bit RLE, TGA 24-bit RLE, SGI RGB, PPM (P6) and XBM, 256×256
FileSize 845 Ko
Solver solver_minimal_1