docs: 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()