PNMFileType¶
-
class PNMFileType¶
Bases:
TypedWritableThis is the base class of a family of classes that represent particular image file types that
PNMImagesupports.Inheritance diagram
digraph inheritance71936bd391 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "PNMFileType" [URL="acron.core.PNMFileType.html#acron.core.PNMFileType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "PNMFileType" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; }- static PNMFileType.get_class_type()¶
- PNMFileType.get_extension()¶
Returns the nth possible filename extension associated with this particular file type, without a leading dot.
- PNMFileType.get_name()¶
- PNMFileType.get_num_extensions()¶
Returns the number of different possible filename extensions associated with this particular file type.
- PNMFileType.get_suggested_extension()¶
Returns a suitable filename extension (without a leading dot) to suggest for files of this type, or empty string if no suggestions are available.