Archived

This topic is now archived and is closed to further replies.

Leecho0

.PPM

Recommended Posts

I''m trying to use some code with PPM, does anyone know the file format for the two? and wat''s up with the P1 P2 P3...? if anyone has the source code for decoding, it would help me a lot. thanks

Share this post


Link to post
Share on other sites
Portable Pixel Map - get details at:

http://www.wotsit.org/

Related formats are PBM and PGM - Portable BitMap and Portable Grey Map.

The P# determines which format it is, a combination of:

- ASCII (all pixels stored in ASCII)
- Binary (all pixels stored as binary)
- 8bit palettised
- 24bit RGB

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites