picture.filetype
Interface PGMPictureProperty

All Superinterfaces:
PictureConstants, PictureProperty
All Known Implementing Classes:
SavePane

public interface PGMPictureProperty
extends PictureProperty

Spezielle Speichereigenschaften für PGM-Bilder.


Field Summary
static int ASCII_FORMAT
           
static int RAW_FORMAT
           
 
Fields inherited from interface picture.PictureConstants
PRESENT_ABSOLUTE_VALUE, PRESENT_IMAGINARY_PART, PRESENT_POLAR_ANGLE, PRESENT_REAL_PART, SAVE_ABSOLUTE_VALUE, SAVE_COMPLEX, SAVE_IMAGINARY_PART, SAVE_POLAR_ANGLE, SAVE_REAL_PART
 
Method Summary
 java.lang.String[] getComment()
          Gibt etwaige Kommentare ab, die in der Datei gespeichert werden sollen.
 int getFormat()
          Gibt an, ob die Datei im Raw- oder im Ascii-Format geschrieben werden soll.
 long getNumberOfGrayScales()
          Gibt den maximalen Grauwert des Bildes an.
 

Field Detail

RAW_FORMAT

public static final int RAW_FORMAT

ASCII_FORMAT

public static final int ASCII_FORMAT
Method Detail

getFormat

public int getFormat()
Gibt an, ob die Datei im Raw- oder im Ascii-Format geschrieben werden soll. Zurueckgegeben werden RAW_FORMAT oder ASCII_FORMAT.

getNumberOfGrayScales

public long getNumberOfGrayScales()
Gibt den maximalen Grauwert des Bildes an. Der minimale Grauwert des Bildes ist stets 0, somit wird ueber diese Methode die Anzahl der Graustufen und damit insbesondere die Groesse des Bildes festgelegt.

getComment

public java.lang.String[] getComment()
Gibt etwaige Kommentare ab, die in der Datei gespeichert werden sollen.