#### PyKDE - Python Bindings for KDE

# class KPixmap |
Table of contents
Modules
kdefx Classes
All Classes

Module | kdefx
Class | KPixmap
Inherits | QPixmap

### enums

- ColorMode = {Auto, Color, Mono, LowColor, WebColor }
- GradientMode = {Horizontal, Vertical, Diagonal, CrossDiagonal }

### methods

- KPixmap ()

  returns a KPixmap instance

- KPixmap (pix)

  returns a KPixmap instance
  Argument | Type | Default
  --- | --- | ---
  pix | QPixmap |

- checkColorTable (image)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  image | QImage |

- convertFromImage (img, conversion_flags)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  img | QImage |
  conversion_flags | int |

- convertFromImage (img, mode = WebColor)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  img | QImage |
  mode | ColorMode | WebColor

- load (fileName, format, conversion_flags)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  fileName | QString |
  format | char |
  conversion_flags | int |

- load (fileName, format = 0, mode = WebColor)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  fileName | QString |
  format | char | 0
  mode | ColorMode | WebColor