#### PyKDE - Python Bindings for KDE

# class KImageIO |
Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KImageIO
Inherits |

### enums

- Mode = {Reading, Writing }

### methods

- canRead (type)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  type | QString |

- canWrite (type)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  type | QString |

- isSupported (_mimeType, _mode = Writing)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  _mimeType | QString |
  _mode | KImageIO.Mode | Writing

- mimeType (_filename)

  returns (QString)
  static
  Argument | Type | Default
  --- | --- | ---
  _filename | QString |

- mimeTypes (mode = Writing)

  returns (QStringList)
  static
  Argument | Type | Default
  --- | --- | ---
  mode | KImageIO.Mode | Writing

- pattern (mode = Reading)

  returns (QString)
  static
  Argument | Type | Default
  --- | --- | ---
  mode | KImageIO.Mode | Reading

- registerFormats ()

  returns nothing
  static

- suffix (type)

  returns (QString)
  static
  Argument | Type | Default
  --- | --- | ---
  type | QString |

- type (filename)

  returns (QString)
  static
  Argument | Type | Default
  --- | --- | ---
  filename | QString |

- typeForMime (mimeType)

  returns (QString)
  In versions KDE 3.1.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  mimeType | QString |

- types (mode = Writing)

  returns (QStringList)
  static
  Argument | Type | Default
  --- | --- | ---
  mode | KImageIO.Mode | Writing