import _PythonMagick

class Image(_PythonMagick.Image):
    pass

class Blob(_PythonMagick.Blob):
    def __init__(self,*args):
        if len(args)==1 and type(args[0])==type(''):
            _PythonMagick.Blob.__init__(self)
            self.update(args[0])
        else:
            _PythonMagick.Blob.__init__(self,*args)
    data=property(_PythonMagick.get_blob_data,_PythonMagick.Blob.update)
