def METHOD_NAME(pdfPath, imgPath, zoom_x=10, zoom_y=10, rotation_angle=0):
    """
    Convert PDF to Image
    """
    pdf = fitz.open(pdfPath)
    image_path = []
    for pg in range(0, pdf.page_count):
        page = pdf[pg]
        trans = fitz.Matrix(zoom_x, zoom_y).prerotate(rotation_angle)
        pm = page.get_pixmap(matrix=trans, alpha=False)
        pm._writeIMG(imgPath + "/" + str(pg) + ".png", format=1)
        image_path.append((imgPath + "/" + str(pg) + ".png", "page:" + str(pg)))
    pdf.close()
    return image_path