Interface PNM

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MAX_VAL_16BIT
      Max value for 16 bit rasters (65535).
      static int MAX_VAL_1BIT
      Max value for 1 bit rasters (1).
      static long MAX_VAL_32BIT
      Max value for 32 bit rasters (4294967295).
      static int MAX_VAL_8BIT
      Max value for 8 bit rasters (255).
      static short PAM
      PAM format, may contain data in same formats as the above, has extended header.
      static short PBM
      1 bit per sample, RAW format, white is zero.
      static short PBM_PLAIN
      1 bit per sample, ASCII format, white is zero.
      static short PFM_GRAY  
      static short PFM_RGB  
      static short PGM
      Grayscale up to 16 bits per sample, RAW format.
      static short PGM_PLAIN
      Grayscale up to 16 bits per sample, ASCII format.
      static short PPM
      Color (RGB) up to 16 bits per sample, RAW format.
      static short PPM_PLAIN
      Color (RGB) up to 16 bits per sample, ASCII format.
      static int XV_THUMBNAIL_MAGIC
      In order to not confuse PAM ("P7") with xv thumbnails.
    • Field Detail

      • PBM_PLAIN

        static final short PBM_PLAIN
        1 bit per sample, ASCII format, white is zero.
        See Also:
        Constant Field Values
      • PGM_PLAIN

        static final short PGM_PLAIN
        Grayscale up to 16 bits per sample, ASCII format.
        See Also:
        Constant Field Values
      • PPM_PLAIN

        static final short PPM_PLAIN
        Color (RGB) up to 16 bits per sample, ASCII format.
        See Also:
        Constant Field Values
      • PBM

        static final short PBM
        1 bit per sample, RAW format, white is zero.
        See Also:
        Constant Field Values
      • PGM

        static final short PGM
        Grayscale up to 16 bits per sample, RAW format.
        See Also:
        Constant Field Values
      • PPM

        static final short PPM
        Color (RGB) up to 16 bits per sample, RAW format.
        See Also:
        Constant Field Values
      • PAM

        static final short PAM
        PAM format, may contain data in same formats as the above, has extended header. Always 1-16 bits per sample, RAW format.
        See Also:
        PAM format, Constant Field Values
      • MAX_VAL_1BIT

        static final int MAX_VAL_1BIT
        Max value for 1 bit rasters (1).
        See Also:
        Constant Field Values
      • MAX_VAL_8BIT

        static final int MAX_VAL_8BIT
        Max value for 8 bit rasters (255).
        See Also:
        Constant Field Values
      • MAX_VAL_16BIT

        static final int MAX_VAL_16BIT
        Max value for 16 bit rasters (65535).
        See Also:
        Constant Field Values
      • MAX_VAL_32BIT

        static final long MAX_VAL_32BIT
        Max value for 32 bit rasters (4294967295). Experimental, not supported by the "spec".
        See Also:
        Constant Field Values
      • XV_THUMBNAIL_MAGIC

        static final int XV_THUMBNAIL_MAGIC
        In order to not confuse PAM ("P7") with xv thumbnails.
        See Also:
        Constant Field Values