[  date  ] 2002/03/21 | Thursday | 07:26 PM
[ author ] [EMAIL PROTECTED] <[EMAIL PROTECTED]> 

> When I save a image with .pnm extension and later I open this image with "od"
> top see bitmap, the first byte is "P6". What that is mean? Is it GIMP version?

>From the ppm man page:

    Each PPM image consists of the following:

    - A  "magic  number" for identifying the file type.  A ppm
      image's magic number is the two characters "P6".

Similarly:

    format  magic number
    ------  ------------
    PBM     P4
    PGM     P5
    PPM     P6


pnm -+
     +- pbm
     +- pgm
     +- ppm

PNM is like a general term for the PBM, PGM, and PPM formats.
 ^
 |
 +-- N is like a wildcard for B, G, or P.

 
-- 
package wuv'apqvjgt;($_=join('',(*PgtnHcemgt))) # print map "beppu\@$_\n", qw(
=~ s/([HaP])(?!e)/ \U>$1/g;s/^.|:| (?=A)|>//g;y # cpan.org  lbox.org  binq.org
/c-z/a-u/;print"J$_\n";#$^%$^X@.^ <!-- japh --> # oss.lineo.com codepoet.org);
_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to