def pack(obj): pi = PackedQImage() pi.from_QImage(ImageQt.ImageQt(obj)) return pi
def pack(obj): pi = PackedQImage() pi.from_QImage(obj) return pi