def METHOD_NAME(src_fmt, tar_fmt, src_name, tar_name):
    qemu_img = utils_misc.get_qemu_img_binary(params)
    convert_cmd = params["convert_cmd"] % (qemu_img, src_fmt, tar_fmt,
                                           src_name, tar_name)
    try:
        process.system(convert_cmd, ignore_status=False, shell=True)
    except process.CmdError as e:
        if "Cannot copy inconsistent bitmap" in str(e):
            convert_cmd += " --skip-broken-bitmaps"
            process.system(convert_cmd, ignore_status=False, shell=True)
    else:
        test.fail("Can convert image with inconsistent bitmap included")