<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pdf2img(file_name, output=None, tempdir=None, ext='png', progress_bar=None):
 """Wrapper function for PDF2IMG class"""

    return PDF2IMG(file_name=file_name, output=output, tempdir=tempdir, ext=ext, progress_bar=progress_bar).save()