def convert_image(source, dest, out_format, run_as_root=False):
 cmd = ('qemu-img', 'convert', '-O', out_format, source, dest)
 utils.execute(run_as_root=run_as_root, *cmd)

def convert_image ( source , dest , out_format , run_as_root = False ) : cmd = ( 'qemu-img' , 'convert' , '-O' , out_format , source , dest ) utils . execute ( run_as_root = run_as_root , * cmd )
convert an image file using sips .