#### PyKDE - Python Bindings for KDE

# class KPixmapIO

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KPixmapIO
Inherits |

### enums

- ShmPolicies = {ShmDontKeep, ShmKeepAndGrow }

### methods

- KPixmapIO ()

  returns a KPixmapIO instance

- convertToImage (pixmap)

  returns (QImage)

  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |

- convertToPixmap (image)

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  image | QImage |

- getImage (src, sx, sy, sw, sh)

  returns (QImage)

  Argument | Type | Default
  --- | --- | ---
  src | QPixmap |
  sx | int |
  sy | int |
  sw | int |
  sh | int |

- getImage (src, rect)

  returns (QImage)

  Argument | Type | Default
  --- | --- | ---
  src | QPixmap |
  rect | QRect |

- preAllocShm (size)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  size | int |

- putImage (dst, dx, dy, src)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  dst | QPixmap |
  dx | int |
  dy | int |
  src | QImage |

- putImage (dst, offset, src)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  dst | QPixmap |
  offset | QPoint |
  src | QImage |

- setShmPolicy (policy)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  policy | int |